LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2018, 12:20 AM   #1
spartan1
LQ Newbie
 
Registered: Jun 2018
Posts: 3

Rep: Reputation: Disabled
Debugging


using cli how to debug unknown performance issue on a single host?
 
Old 06-07-2018, 01:33 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,836

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
most probably by executing some commands....

Can you please give us some details? for example the OS, the host and a few words about that "unknown performance issue".
 
Old 06-07-2018, 02:15 AM   #3
spartan1
LQ Newbie
 
Registered: Jun 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
My apologies for not mentioning the details needed , It's on Centos/Ubuntu Linux. Couldn't give much details regarding the issue, as I don't know. it's an interview question, which i didn't answer and would like to know the answer.

Thanks
 
Old 06-07-2018, 02:56 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,836

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
hm. first you need to check the symptoms and that will help you to narrow it down. The tools to use depend obviously on it (if it was memory/disk/network related or ???)
 
Old 06-07-2018, 03:22 AM   #5
spartan1
LQ Newbie
 
Registered: Jun 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ok, thanks for your time.
 
Old 06-07-2018, 09:45 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I would use top to check for cpu hogs, and memory and swap use. If I found a process using excessive cpu or memory, I'd restart it. If swap was full I'd create an additional swap file. Then I'd check disk usage. If a any file system had less than 10% free space, I'd locate any excessively large files and possibly delete them.
 
Old 06-07-2018, 11:21 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://linoxide.com/tools/sysdig-pe...ce-linux-tool/
sysstat utilities like sar, iostat, vmstat,etc....
collectl
 
Old 06-07-2018, 11:24 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Interview Question is likely common top, or htop. Any number of handy utilites.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Effective debugging or improving ones debugging skills Ajit Gunge Programming 3 05-22-2009 09:29 AM
Need some debugging help Sparkfist Programming 3 06-08-2007 08:41 AM
Difference between kernel - debugging and application debugging topworld Linux - Software 2 03-30-2006 12:50 AM
Debugging in C pranavojha Programming 11 03-10-2006 09:43 AM
Visual Debugging and Linux Kernel Debugging Igor007 Programming 0 09-30-2005 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration