how find pid of process in C language (POSIX)
location: linuxquestions.com - date: April 20, 2007
I am writing a C program to stop a process.
I need of functions to find pid of process that I want to stop.
Someone know a similar function
How to find what process is listening on a certain port?
location: linuxquestions.com - date: August 8, 2011
I'm using Ubuntu Linux 11.04. I want to figure out what process is listening on port 4444. I tried the following, but it lists a bunch of processes, and only one can listen on port 4444 ...
[SOLVED] How to find zombie process
location: linuxquestions.com - date: May 3, 2012
How to find a zombie process and then the parent process of that zombie process, so that we can kill it
how to find how long a process is sleeping?
location: linuxquestions.com - date: December 20, 2011
My servers are showing that quite large number of processes are in sleeping mode. But couldnt find how long the processess are in sleep mode. Can someone tell me how to find this?
OS: RHEL server release 5.4
How to find the process that rebooted the server.
location: linuxquestions.com - date: March 2, 2010
How can i find a the process that crashed my linux system,
I only have the below information available.
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
Mar 2 01:00:13 localhost kernel: fown: signal 29, pid 1211
Mar 2 03:01:58 localhost last message repeated 2 times
Mar 2 04:00:02 localhost kernel: decode_getfattr: xdr error 10008!
Mar 2 04:05:06 localhost syslogd 1.4.1: restart.
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..
Please let me know what you think?
is it impossible??
Thank You Fellow Knights..!
How to find the process associated with a toplevel X window
location: linuxquestions.com - date: October 8, 2011
Is there an existing program, available as a supported Debian package, and that works from within the GNOME desktop, that can show the specific UNIX process that created a specific X window? It's user interface should work in the same manner as the xwininfo program, by allowing the user to select the specific window in question with the mouse button.
For comparison, on Microsoft Windows, there is a downloadable, free, utility called Process Explorer that allows you to find the process associated with the window. The user clicks on the "Find Window" icon, then drags the mouse pointer over the window of interest, clicks on the left mouse button, and then the specific process is highlighted in the Process Explorer's main window.
I need to identify the process id at minimum. But, if there exists a tool that provides a GUI front-end that could show additional information akin to Process Explorer, that would be icing on the cake.
How to find, which process wake up my HDD?
location: ubuntuforums.com - date: May 30, 2014
I've /dev/sda as system disc and /dev/sdb as storage disc.
Today I have first checked s.m.a.r.t. parameters of sdb disc. After 400 days of using is number of " Load/Unload Cycle Count" cca 595.000!!! It's a WD Caviar Green 2TB WD20EARX with garanted lifetime 300.000 cycles.
Unfortunately, the manufacturer went mad and set parameters for head parking for 8 seconds.
So, i've tried to change it with hdparm, but failed.
hdparm -B (any number) can not be used. (Error)
hdparm -S (any number) no effect (ignored?)
hdparm -y quickly spin them down
(As a last resort I will try to use the program idle3-tools.)
It's a one side of Problem.
But! HDD is used as media storage and theoreticaly should not be used too frequently. So how to find which process wakes him every minute? I've tried "iotop" utility. I saw no disc activity (read/write), but after a few minutes was "Cycle Count" + 5.
Is it possible to find, why is disc so frequently waking up?
How find out PID of a command which is in history
location: linuxquestions.com - date: June 20, 2011
If someone has done something wrong on a shared linux machine. If i want to find out who is that person or ip from where it is been done what are all the possible ways..
1 possibility I thought was to get the PID of the command and get other details from that PID?
linux: how find out which process is using a file?
location: linuxexchange.com - date: July 3, 2014
I tried to remove a file in Linux using rm -rf file_name, but got the error:
rm: file_name not removed. Text file busy.
How can I find out which process is using this file?
how do i find which process is leaking memory [closed]
location: linuxexchange.com - date: September 27, 2008
I have a system (Ubuntu) with many processes and one (or more) have a memory leak. Is there a good way to find the process that has the leak? Some of the process are JVMs, some are not. Some are home grown some are open source.
Page: 1 2 3 4 5 6 7 8 9 10