/sbin/swapon -s
Filename Type Size Used Priority
/dev/hda5 partition 1044184 0 -1
df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/hda7 372 81 272 23% /
/dev/hda2 46 10 34 22% /boot
/dev/hda6 9705 2325 6887 26% /home
none 251 0 250 0% /dev/shm
/dev/hda3 26537 2113 23076 9% /usr
/dev/hda8 251 64 173 27% /var
su
dd if=/dev/zero of=/usr/extraswap bs=1M count=1024
/sbin/mkswap /usr/extraswap
Setting up swapspace version 1, size = 1048572 KiB
/sbin/swapon /usr/extraswap
/sbin/swapon -s
Filename Type Size Used Priority
/dev/hda5 partition 1044184 0 -1
/usr/extraswap file 1048568 0 -2
cp /etc/fstab /etc/fstab.mybackup
emacs /etc/fstab&
diff /etc/fstab /etc/fstab.mybackup
10d9
< /usr/extraswap none swap sw 0 0
2 comments:
This looks like foreign language to me.
And yet you are doing AIX admin occasionally.
Post a Comment