Shell: Check Status
cek; status; server; unix; linux; MRO
runlevelknow the current run levelnetstat –a see the network sessionsnetstat –rn View the gateways configuredwho / finger View the Users logged in detailps –ef view all the running process and its related filessestatus check SELINUX statusservice iptables status check firewall statusifconfig –a view the network cards and IP address configuredtopprovide the top processes, CPU load, memory utilization, swap utilization, running/zombie process, uptime, etciostat will provide the information about the disk utilization, read/write rate, etc.dmesgdisplays all the server errors including hardware, booting, network errors by retrieve the information from log files which located in /var/loglsofused in many Linux/Unix like system that is used to display list of all the open files and the processes. The open files included are disk files, network sockets, pipes, devices and processes.tcpdumpnetwork packet analyzer or packets sniffer program that is used capture or filter TCP/IP packets that received or transferred on a specific interface over a network.traceroute print the route packets take to network host.dig $dns_nametool for interrogating DNS name servers.nslookup $dns_namequery Internet domain name servers.wprints a summary of the current activity on the system, including what each user is doing, and their processes.nmap $server_namechecks the opened port on the server.scp $filename user@targethost:/$pathsecure copy files to and from another host in the network.arpview / add the contents of the kernel’s ARP tables. iwconfig to configure a wireless network interface. ipnat –lgives the list of active rules. ipfstat –lgrants access to a few information on filtered packets, as well as active filtering rules.