Common commands when troubleshooting server issues [slow etc etc]

DrewChan

Expert Member
Joined
May 19, 2010
Messages
4,937
Reaction score
3
Location
Cape Town
Hi all,

In the pursuit of a career in Linux I want to put myself in the shoes of a Support Person,

Could you kind folks who are in the know list problems that a support person might be presented with, and the commands used to troubleshoot the issues.

I know this is a very broad question but I am trying to dive feet first into everything.
 
top
grep
lastb
kill
shutdown
[service] -restart
tail
nano (for those config files)
mysql

List can go on and on, depends on what you need to support.

Linux is kind of cool in the way that I don't need a full server reboot just to fix a MySQL issue for example.
 
top
grep
lastb
kill
shutdown
[service] -restart
tail
nano (for those config files)
mysql

List can go on and on, depends on what you need to support.

Linux is kind of cool in the way that I don't need a full server reboot just to fix a MySQL issue for example.

Thank you :)
 
You're going to be miles behind the pack as you're starting fresh.

I'd think twice if I were you, but if you're adamant then I'd start with LPIC (Check their 3 in 1 advantage partnership with Linux+ and Novell (SUSE)). I'd then move to Red Hat as you'll find enterprises love using RH.

See attached for a quick cheat sheet.
Linux Cheat Sheet.jpg
 
ps -aux

ls -ltr

control-r: this is reverse search. Searches all past commands. very useful.

less
zless: like less, but for gzipped files.

grep
zgrep: like grep but for gzipped files.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X