You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2011-10-11 11:32:03

archy
ArchBanger
Registered: 2011-09-24
Posts: 90

how to know if i'm using swap?...

like i said on title...i can see 'ram usage' but i need to no if using at least a mega of swap?

Offline

#2 2011-10-11 11:56:13

oliver
Administrator
Registered: 2010-11-04
Posts: 1,544

Re: how to know if i'm using swap?...

run 'top'

one of the lines shows swap provisioned and swap in use


Hasta manana, monsieur
Were the only words that I knew for sure

Offline

#3 2011-10-11 13:40:06

archy
ArchBanger
Registered: 2011-09-24
Posts: 90

Re: how to know if i'm using swap?...

Thx pal!

top shows 0 used: dLhh9.png

Offline

#4 2011-10-11 18:24:30

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: how to know if i'm using swap?...

archy wrote:

like i said on title...i can see 'ram usage' but i need to no if using at least a mega of swap?

From Term:

cat /proc/swaps

[root@MS-7005-archbang ~]# cat /proc/swaps
Filename                                Type            Size    Used    Priority
/dev/sda1                               partition       497976  42572   -1
/dev/sdb2                               partition       488876  0       -2

free

[root@MS-7005-archbang ~]# free
             total       used       free     shared    buffers     cached
Mem:       1029060     961696      67364          0      21648     586788
-/+ buffers/cache:     353260     675800
Swap:       986852      42572     944280

Offline

#5 2011-10-11 22:06:09

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Re: how to know if i'm using swap?...

Since you're using conky, you could add swap to the top of the conky with CPU and RAM so you can always check on your desktop.


GUI's?? We don't need no stinkin' GUI's!!!

Offline

Board footer

Powered by FluxBB