Quantcast

swap space

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

swap space

Jim Pazarena-15
is there a command which can show the size of the hard drive swap?

A "df" seems to avoid the swap area.

This would be on a live production server.
Thanks.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: swap space

mdtancsa
On 2/17/2012 6:54 PM, Jim Pazarena wrote:
> is there a command which can show the size of the hard drive swap?
>

% pstat -T
438/12328 files
98M/10240M swap space

        ---Mike

--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, [hidden email]
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: swap space

Chuck Swiger-2
In reply to this post by Jim Pazarena-15
On Feb 17, 2012, at 3:54 PM, Jim Pazarena wrote:
> is there a command which can show the size of the hard drive swap?
>
> A "df" seems to avoid the swap area.

You're looking for "swapinfo"....

Regards,
--
-Chuck

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: swap space

Jonathan Vomacka-2
In reply to this post by Jim Pazarena-15
On Feb 17, 2012 6:55 PM, "Jim Pazarena" <[hidden email]> wrote:

>
> is there a command which can show the size of the hard drive swap?
>
> A "df" seems to avoid the swap area.
>
> This would be on a live production server.
> Thanks.
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
[hidden email]"

Top or vmstat
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: swap space

Robison, Dave
In reply to this post by Chuck Swiger-2
On 02/17/2012 15:58, Chuck Swiger wrote:
> On Feb 17, 2012, at 3:54 PM, Jim Pazarena wrote:
>> is there a command which can show the size of the hard drive swap?
>>
>> A "df" seems to avoid the swap area.
> You're looking for "swapinfo"....
>
> Regards,

Chuck beat me to it.

"swapinfo" or top are the two ways I normally check.



--
Dave Robison
Sales Solution Architect II
FIS Banking Solutions
510/621-2089 (w)
530/518-5194 (c)
510/621-2020 (f)
[hidden email]
[hidden email]

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: swap space

Teske, Devin


> -----Original Message-----
> From: [hidden email] [mailto:owner-freebsd-
> [hidden email]] On Behalf Of Robison, Dave
> Sent: Friday, February 17, 2012 4:11 PM
> To: [hidden email]
> Subject: Re: swap space
>
> On 02/17/2012 15:58, Chuck Swiger wrote:
> > On Feb 17, 2012, at 3:54 PM, Jim Pazarena wrote:
> >> is there a command which can show the size of the hard drive swap?
> >>
> >> A "df" seems to avoid the swap area.
> > You're looking for "swapinfo"....
> >
> > Regards,
>
> Chuck beat me to it.
>
> "swapinfo" or top are the two ways I normally check.
>

I'm digging the fact that it now accepts "-h" to produce human-readable sizes.

swapinfo didn't always support "-h"
--
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: swap space

Robert Bonomi
In reply to this post by Jim Pazarena-15
> From [hidden email]  Fri Feb 17 17:59:50 2012
> Date: Fri, 17 Feb 2012 15:54:18 -0800
> From: Jim Pazarena <[hidden email]>
> To: FreeBSD Mailing List <[hidden email]>
> Subject: swap space
>
> is there a command which can show the size of the hard drive swap?
>
> A "df" seems to avoid the swap area.

That *is* "expected" behavior.
 
'df' shows utilization of -filesystems-.  'swap' is not filesystem.

> This would be on a live production server.

The "traditional" means is 'pstat -s'.  On relatively modern systems,
'swapinfo' is an alias.

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Loading...