Monday, October 26, 2009

Find Hard Drive Space / Memory Usage in Linux Quick Example

$ df -H
____the H puts it in human readable format

Find memory usage in Linux:

$ free -m
____the m puts it in megabytes

Find our how much processor and memory processes are using:

$ top
____like ps, but continuously refreshes, and shows most active processes at top.
____hit capital 'O' inside top to change which column things are sorted by.
$ ps aux
___ display all current processes, user names, process ids, memory use, etc.
$ ps aux | grep searchd
___ display any processes matching searchd

No comments: