File, Processes, & System Details in Ubuntu

Introduction

Often it is necessary to get the OS version, hardware statistics, running process, and details about the file system. You may need to monitor CPU percent level or check the remaining space on a hard drive. In any case, you can use the below commands.

What is OS Linux version

Get the installed memory (RAM)

Get a CPU count

Get the hard drive details

Get disk space usage by directory

disk space used by the specified files and for each subdirectory.

Monitor Processes using TOP

Just run the command ‘top’ or ‘htop’ , if it is installed, to get real time Mem and CPU usage and see what process are resource hogs.

Related Posts