Linux-Unix Useful Commands
Linux-Unix Useful Commands
A common task for system administrators is determining what has filled up a full filesystem.
Here are some of my favorite commands to figure out why a filesystem is full…
Here is an example, that shows the “freeware” sub-directory is taking 377 MB of space. We can
CD to that directory and run the same command again to see what in the “freeware” directory is
taking so much space. You can repeat this until you have drilled down several directories.
lsdev -Cc processor will show the number of physical processors (or virtual processors in a
shared processor LPAR.
1. bindprocessor -q
1. prtconf | pg
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------