Ubuntu :: [server] Find The State Of A Process
Feb 16, 2010On server (no GUI) how can I find the state (running, sleeping, zombie) of a given process, by giving a process name or PID?
View 3 RepliesOn server (no GUI) how can I find the state (running, sleeping, zombie) of a given process, by giving a process name or PID?
View 3 RepliesIs there anyway to kill the process under " D" state ? Googled , but not succeded .
View 1 Replies View RelatedI am writing network module (LKM). I got process information by current->pid and current->comm. But now i want current state of task. I want to know the state of running the process. I dont find any information in struct task_struct structure. how can i get the state of current running process.
View 1 Replies View RelatedHow can i check what operating system, i am running on, at run time?Moreover, how can i retrieve that current state of process?
View 4 Replies View RelatedHow to find how many cpu's a particular process uses.
My weblogic process is running on Linux.There are 8 cpu processors.I need to find which are the processors the weblogic process is using
How can i find a the process that crashed my linux system,
I only have the below information available.
from /var/log/messages
Mar 1 21:14:31 localhost kernel: fown: signal 29, pid 1211
Mar 1 22:00:17 localhost kernel: fown: signal 29, pid 1211
Mar 1 22:07:52 localhost kernel: fown: signal 29, pid 1211
[Code]....
Also I don't have kdump enabled.
I am assuming that this is due to overloading of the server.
This server runs an Oracle Database..
How do you find the parent process of zombie processes?
When the child process is something where the parent is not entirely obvious...
Is there some way to list processes in tree format or something?
5.5 (64bit). My server goes into non responding state where I can't telnet, ftp or ssh server whereas PING is the only thing which works at that time. I need to hard reboot server to get it back online. This is happening very frequently in fact yesterday and today server went inaccessible. which log file should I look into to find out the reasons of this inaccessibility?
View 2 Replies View RelatedAs far as I know, servers are stable and don't go down easily, but every single server will eventually go down some day, either from hardware/software failure or from hacking.
But as sysadmins, our job is to keep servers running healthy as long as possible.
So I'm conducting another short survey (I might start more survey threads, and thank everyone for kindly replying my previous post):
1. Have you encountered server failures? What's the most common cause for server failure?
2. What is your most important trick in avoiding your server go down?
3. What security rules do you follow to protect your servers?
I am using CentOS 5.5 (64 bit) on a Quad core server having 8 GB RAM. This server has MySQL server 5.1.47 installed. THis server goes non responding state after every 20 to 60 days. SSH, telnet doesn't work at that time however PING works fine. I have to hard reboot the server to get it back on track. Can anybody let me know what logs/files should I look into to find out that what happens to the server when it went to non responding state?
View 4 Replies View RelatedI often run calculations on my Linux computer, which cause my X server to crash from time to time. Almost always, some programs seem to survive to the crash and are in an interruptible sleeping state, for example:29315 ? Sl 54:35 /home/kashim/Desktop/anylogic/anylogic -vmargs -Xmx1024MIs there a way to reconnect these applications with the new X server?
View 1 Replies View RelatedI've got this problem for a few weeks and I cannot figure out. I'm pulling my hair out. I have a server installed PHP, lighttpd and redis. Sometimes, I got the following messages in the error log of lighty: Code: 2010-09-24 13:57:33: (mod_fastcgi.c.3011) backend is overloaded; we'll disable it for 1 seconds and send the request to anoth er backend instead: reconnects: 0 load: 567 2010-09-24 13:57:33: (mod_fastcgi.c.3011) backend is overloaded; we'll disable it for 1 seconds and send the request to anoth
er backend instead: reconnects: 0 load: 626 and:
[Code]..
I have searched for the solution with no luck and still wondering if there is a way to find out what's an application process name is from the name of the application itself. And then pkill the process from the terminal.I tried using
Code:
ps -e | grep ....but it says[code]....
I am trying to write a script that will look for a plugin and check that its running and if not start it
Code:
ps ax | grep -v grep | grep aseco.php
The above should list the process, if I put it into terminal this is incorrect?
Sometimes I notice that there is high upload speeds for 10 minutes or so. At the time of the screenshot I was sitting in a public wireless place, only chromium was open and I don't see any reason why there should be sustained upload speeds.Is there a GUI or CLI so I can find out which process uses the internet?
View 1 Replies View RelatedI know that this command
"pid aux | less"
displays all the processes and their pid but it would be too time consuming to search for the pid of one specific process is there a way to use "grep" to find pid of a certain process?
i tried "grep process-name pid aux"
Using Debian Squeeze amd64.
How can I find out, from running process, which ones are 32 bit, and which ones are 64 bits?
Normally servers having multiple CPU's I need to found out, which CPU is used by a process. or else from the out put /proc/pid/stat how we can identify used CPU by the process
View 5 Replies View RelatedI can see that the light of the HDD is flashing. I would like to find out what the process is that is accessing the HDD. Is there a way to achieve this?Is there a utility that ties up processes with hw resources?
View 1 Replies View RelatedIs there a way to find out information about a process based on the command used to run it?
Ideally I would like to get processes ID %CPU and memory usage back. I have written a short shell script which does this but I wonderd was there a command that did this.
Here's my shell script
Code:
#!/bin/bash
ExpectedArgs=1
ARGS=$#
if [ $ARGS != $ExpectedArgs ]
[Code]....
I start a QEMU command, but pgrep can't found the process.
Host> ps aux | grep qemu-system-mips
With the full name, nothing can be found.
I used 9.04 for months and it work fine before restarting my PC. After I restarted my PC, the memory consumption takes up to 4.2 GB after login. However, I cannot find any process that consume such large number of memory.
[code]....
I bought my previous laptop without thinking about whether linux would run or not, I ran into a lot of ton of trouble and had to use ndiswrapper for the wireless and I had to wait year before a patch came so the monitor could be used, and 1 year before it ran stable (back then I used ubuntu). I have a medion computer, their consumer service are very nice, however I fried the hard drive, and when I got the computer back the wireless card weren't visible from linux... I then went into the bios to find out that there were only 2 settings to choose between "off" and "last state", and last state apparently also meant off... in windows both off and last state could be turned into "on" by clicking Fn + F7... but this did not change the bios setting and therefore linux wireless were still off (I know it sounds strange).
Anyway My girlfriend needs a windows computer for gaming (and all of out computers run only linux with the exception of mine which dual boots), so I have desided to buy a new one. My main question is this: which laptop manufactures play nice with linux... I have heard only bad things about dell costumer service, and I want to buy a laptop that I can return w/o to much hassle if it doesn't perform as I am hoping...
My second question is, is there any way to check whether the graphics card and such are compatible with linux ahead of time, (w/o acualy buying it where you can do lspci and then submit it to some webpage) 3rd are there anyway to check whether the fn + key buttons and webcamp works ahead of time (this is only of minor importance, as I find that generally the sound up and brightness up/down works, and that's the most useful)
I have the following problem. I want to find out connection between process and socket. When I type to the terminal the following command netstat -anpetu so I get the following output:
[Code]....
As you can see just some connection have assign PID/Programme. How can I find out Program of this socket without PID/programme. like this 0.0.0.0:52472? Certainly I know that some port are well-known but there are a lot of unknown ports(like 8307 3350 and so on).
Im using SUSE, i have 31GB of memory Mem: 31908592k total, 31429632k used, 478960k free, 12176k buffers. How do I find out what process are eating up all my memory.
View 3 Replies View RelatedIs there any link where i can get information about below?
Dirty memory
RSS
PSS
One more?
if a set of process are getting executed in a use case say 50 times. How do one know the memory leak for a particular process?
My machine is trying to communicate with another computer. I�ve blocked the traffic with this machine with iptables (input and output traffic), but I want to find the origin of this traffic. There�re 90% of probabilities it�s a trojan, and I want to find it.I have logged the packets with iptables (and then dropped), but with this I don�t know the proccess source.I�ve tried with netstat -o, but I don�t get nothing.How can I see the Process source (i.e. the PID) of this traffic?The traffic are TCP packets, with SYN flagged active (my machine is trying to establish a connection with that IP).
View 9 Replies View RelatedHow can I find out which process is listening on a port on linux?
View 5 Replies View RelatedIs there any way to know which process had created any file in Linux Red Hat/CentOS 5?
View 2 Replies View RelatedPossible Duplicate: Finding the process that is using a certain port in Linux I'm using Ubuntu Linux 11.04. How do I write a shell script expression that will find the process running on port 4444 and then kill the process?
View 4 Replies View Related