File, Processes, & System Details in Ubuntu

Introduction

When working with systems, for troubleshooting, performance tuning, or regular maintenance, it’s often essential to gather key system information. This includes details such as the operating system version, hardware specifications, running processes, or file system disk usage. You might need to monitor CPU usage in real time or check how much storage space is available on your drives.

Fortunately, there are a set of powerful command-line tools that make this process quick and efficient. Below, we’ll explore some of the most useful commands to help you monitor and manage your system effectively.

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.