Closed stottj closed 1 year ago
Ex 1 uname -v, which gave me Darwin Kernel V 22.6.0
Ex 2 df -h, shows how much disk usage on a mounted filesystem.
Ex 3 free -h will show you the memory not being used for anything, aka wasted memory. Available memory is used for new or existing processes, this memory can be used without swapping.
Ex4 we've already touched top in the top/htop section. Using top command will show all the processes running sorted by current CPU usage for me a quick look showed Appgate SDP.
common issues are wrong usage of options/spelling mistaks, syntax mistakes.
👍🏻
Ticket: Get System Information Using Various Commands
Summary
Learn how to use various commands to retrieve system information on a Unix-like operating system. Get insights into CPU, memory usage, disk space, and other system metrics.
Description
Objective: Acquire skills to fetch different types of system information using command-line tools.
Scope:
uname,
df,
free,
andtop.
htop,
lscpu,
andlsmem.
Learning Tasks
Basic System Information:
uname
for getting basic system information like OS type, kernel version, etc.Disk Usage:
df
command.Memory Usage:
free
command for memory-related information.Real-time Metrics:
top
for real-time system metrics.Advanced Tools:
htop,
lscpu,
andlsmem.
Interpreting Output:
Hands-on Practice:
uname
to discover the kernel version.df
and interpret the output.free
to view available memory and swap space.top
and identify the most CPU-intensive process.Troubleshooting:
Learning Goals
Priority