CENTOS4.2 swapon -s result ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Castello, Jean-pierre (TS/Linux-HPC) wrote:
> Hello
> 
> It is my first question here and I would like to thanks all of you to 
> keep alive this stream
> and to give answers (I regulary read). Thanks for the good job.
> After installing CENTOS4.2 and "play with" I type the command swapon -s 
> to verify everythings
> is ok but the command does nor return info as it should do.
> Is it something known ?
> Thanks
> 
Not quite sure what it is (or is not) doing on your system, but on my 
CentOS 4.2 system at home here's what I get:

     [jleafey@jaybird ~]$ swapon -s
     bash: swapon: command not found

OK, simple enough, /sbin isn't in my path, so neither is swapon.  Next try:

     [jleafey@jaybird ~]$ /sbin/swapon -s
     Filename                                Type            Size 
Used
     Priority/dev/mapper/sysvol-swap0                partition 
2097144 70864   -1

Looks good, but would sudo give different results?

     [jleafey@jaybird ~]$ sudo /sbin/swapon -s
     Filename                                Type            Size 
Used
     Priority/dev/mapper/sysvol-swap0                partition 
2097144 70864   -1
     [jleafey@jaybird ~]$

Nope, it's all good.  As far as I can tell, it seems to work just fine 
for me.  What results are you getting?

-- 
Jay Leafey - Memphis, TN
jay.leafey@xxxxxxxxxxxx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5322 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.centos.org/pipermail/centos/attachments/20051205/7c814d85/smime.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux