| Start |
|---|
| Statistics about CPU, Memory, Network and Disk (I/O operations) To get general statistics about main components of Linux family of CPUTo get processors related statistics you can use MemoryWe all know command DiskTo get general information about your disk operations in real time you can utilise NetworkTo be able to see what is happening with your network services you can use But you can find useful monitoring to see network traffic in real time: OptionalTo generate statistics in real time related to I/O operations across all components you can use |
| List Hardware Ubuntu: lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. To show PCI info To see USB info To display BIOS informations To see specific information about disk (disk sda in example) you can use: Few additional utilities/commands will help gather some extra information: |
| Find CPU model/speed information Ubuntu: Sample Output: count processor (including cores): |
| Process monitoring and information gathering Overall you have two ways to monitor processes at linux host Static monitoringMost widely used command is Here few useful options to gather specific informations. List processes in a hierarchy List processes sorted by % cpu usage List processes sorted by mem (KB) usage. List all threads for a particular process ("firefox-bin" process in example ) After finding specific process you can gather information related to it using Or based on path find out list processes that have specified path open Interactive monitoringMost commonly known tool for dynamic monitoring is: That mostly default command that have huge amount options to filter and represent information in real time (in comparison to Still there are more advance options that can be considered and installed as or Which has ability to log all the activities into log file (default atop will log all the activity on every 600 seconds)
To this list there are few specialised commands as |
| Using tools like lscpu and lshw By using tools like lscpu as lscpu is an easy way to get CPU information. By using tool lshw |
Read Article
https://develop.horje.com/learn/1434/reference