[CentOS] CENTOS4.2 swapon -s result ?
Jay Leafey
jay.leafey at mindless.com
Tue Dec 6 00:49:15 UTC 2005
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 at jaybird ~]$ swapon -s
bash: swapon: command not found
OK, simple enough, /sbin isn't in my path, so neither is swapon. Next try:
[jleafey at 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 at jaybird ~]$ sudo /sbin/swapon -s
Filename Type Size
Used
Priority/dev/mapper/sysvol-swap0 partition
2097144 70864 -1
[jleafey at 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 at mindless.com
-------------- 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/attachment.bin>
More information about the CentOS
mailing list