Tracking Process to a particular

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Tracking Process to a particular
# 1  
Old 07-06-2011
Tracking Process to a particular

I've tried to see what I can find on my own but I'm coming up with goose eggs. Basically I was wondering if there was a way of querying the scheduler (or something similar) to track a process back to a particular CPU it's executing on at the time of the command. ps has a "cpu" output option but apparently only prints out a hyphen for every single process. I don't think setting processor affinity would work since I don't really know which processes are jacking up the iowait on this cpu and I don't want to just start offloading every process on the system onto a single cpu (if that were even possible, which I don't think it is, correct me if I'm wrong).

Basically, I need help tracking a running process to a cpu so I can see which of these state D's are causing the issue for this processor.
# 2  
Old 07-06-2011
When a process is in 'D' state, as in 'device driver' it's actually not running -- it's suspended, waiting for a system call to finish. Which CPU the kernel uses for what is not managed by the usual process controls (probably why it's only showing - too.) Might be better to find out why you're getting a high iowait.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Issue with tracking successful completion of Child process running in background

Hello All, I am using Linux. I have two scripts: inner_script.ksh main_wrapper_calling_inner.ksh Below is the code snippet of the main_wrapper_calling_inner.ksh: #!/bin/ksh ppids=() ---> Main array for process ids. fppids=() ---> array to capture failed process ids. pcnt=0 --->... (5 Replies)
Discussion started by: dmukherjee
5 Replies

2. Shell Programming and Scripting

Tracking process via ps command

Hello folks, I am tracking a process httpd only. But when i am grepping it, it is returning me multiple process of httpd, second it is showing another process of monitorix-httpd. Below commands i have tried. Current output # ps ax |grep http 929 ? Ss 0:00 monitorix-httpd... (5 Replies)
Discussion started by: learnbash
5 Replies

3. AIX

HMC - tracking dlpar

I am trying to generate a report to track dlpar operation performed on a MS and was wondering if anyone has done this before. I can get history from HMC using lssvcevents , but this does not give me details as to what quantity was added or removed . Any thoughts ? Thanks (3 Replies)
Discussion started by: mk8570
3 Replies

4. Shell Programming and Scripting

Tracking Reminders using Scripts

Friends, I have a script that triggers an reminder e-mail two weeks in advance which will remind the recipient to do a particular task. The problem with this script is, it sends the reminder e-mail 2 weeks before & it send the reminder e-mail only once. It by no means have a logic/functionality... (2 Replies)
Discussion started by: dahlia84
2 Replies

5. AIX

Tracking ftp logons

I have put in the "script" command in the .profile of a particular user id that tracks the terminal session when the user id logs in. But when the user logs on to the server using FTP, how can this be tracked? Any input will be appreciated. (1 Reply)
Discussion started by: ggayathri
1 Replies

6. UNIX for Advanced & Expert Users

Tracking NTP Clients

I need to find out the NTP Clients which are syncing with my NTP Server in a Unix(Linux/Solaris) Machine. For eg. How many Stratum 2 Servers sync the time with my Stratum1 Server. Is there any way to track it? edit by bakunin: moving the thread to where it belongs: the technical forums. (4 Replies)
Discussion started by: hottyspidy
4 Replies

7. UNIX for Advanced & Expert Users

Tracking down the problem

Is there a way to track down what process is sending to a certain port? I have some thing pounding the network with requests to a multicast IP that doesn't exist. I have shut down all comms related processes and yet it is still there. Need a way to track the port or IP back to the process. Thanks... (3 Replies)
Discussion started by: mattmanuel
3 Replies

8. UNIX for Advanced & Expert Users

Tracking user

dear all, I'm facing problem that is i have noticed from few days back that some body is deleting and making changes in the file from developement server where i'm working(in unix) so i want to track that who is using the server, what performancr they are doing and each every thing which r... (5 Replies)
Discussion started by: panknil
5 Replies

9. UNIX for Advanced & Expert Users

tracking user action

Hi, we are using solaris8. we have some files disappear. I would like to know how to track who and when the files was remove ??? thanks, (7 Replies)
Discussion started by: xitrum
7 Replies

10. UNIX for Advanced & Expert Users

Command Tracking

Hi, OS: Solaris9, SPARC Is there any way I can track the commands run by users from the shell prompt? Example: Somebody is deleting files from the system. Who it is is a mystery. That person obviously does not use bash prompt so there is no history. Is there anyway I can find out who... (5 Replies)
Discussion started by: mahatma
5 Replies
Login or Register to Ask a Question