LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-06-2006, 12:21 PM   #1
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Rep: Reputation: 30
CPUs/memory


hi all,

what command can you use to find out which session use the most CPU and memory on the server???

thanks so much to all.
 
Old 02-06-2006, 12:25 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
It would help if you tell more about what sessions are these.
 
Old 02-06-2006, 01:06 PM   #3
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Original Poster
Rep: Reputation: 30
that's what I am trying to find out.

I have about 15 databases running on this Linux server and it's max out CPU so I am trying to find out which database or who is doing what on the server.

thanks,
 
Old 02-06-2006, 02:48 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by ashley75
that's what I am trying to find out.

I have about 15 databases running on this Linux server and it's max out CPU so I am trying to find out which database or who is doing what on the server.

thanks,
Please explain what do you first call a session and perhaps now a database. It's hard to provide help when you give so little clue about what is running on your system.

Have you tried the "top" command ?
 
Old 02-06-2006, 03:38 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well "top" should help hunting down the culprit in terms
of the PID that hogs CPU. As for the actual DB session:
it all depends on the database system.


Cheers,
Tink
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPUs totallynewguy Linux - Hardware 3 08-29-2005 10:06 PM
Via CPUs 3dmike Linux - Hardware 2 03-22-2004 12:39 PM
2 CPUs jhirshon Linux - Newbie 2 01-31-2004 05:59 PM
What CPUs does everyone use? Guru3 Linux - Hardware 43 01-22-2004 10:15 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:57 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