General :: How To Find Apache Client Session Process Id?
Apr 21, 2010
I am running Montavista distribution. I have an Apache server running in my machine. Now I want to know how many clients are connected to the Apache server and what are the process ids for those sessions. What is the command to do that?
View 5 Replies
ADVERTISEMENT
Jul 31, 2009
I've always wondered whether my process kills when I am in the process of doing something during my ssh session. For instance, I ssh from my local box to dev-formbox and did an scp transfer to another remote host. All of the sudden, I lost ssh connectivity on my local box due to network issue. Will the scp process (or any of my process that I am currently doing) kill also once I loose the ssh session?
View 1 Replies
View Related
May 4, 2010
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?
View 3 Replies
View Related
Jan 16, 2010
I am using putty to interact with Linux server. I have started a process using putty.
The process is running and will take 5-6 hours. I want that process to keep running after I close the putty session. How can I keep that process alive after closing the putty session? I do not want to keep the computer ON all the time. Is there any way to do this?.
View 5 Replies
View Related
Jun 5, 2011
I installed slackware 12.1 from files i downloaded and converted to cd (images). There are six "disks" i downloaded from the slackware site and converted to images via a homemade .cmd in windows xp and then burned using imgburn.
I partitioned my hd (canibalized from an acquaintance's emachine and connected it to my desktop (1G ram, 2Ghz processor). Booted from disk 1 and fomatted the 80G HD for 2 partitions of linuxswapable at 2G apeice and 2 partitions of bootable linux. (Because i want to try another distro later). I ran the setup installing most everything and all seemed to go well. After i exited setup and restarted, it identifed the cd/hd as normal and then went into some sort of recovery mode with the emachine logo call pcangel, after which it tells me.
STOP: c0000021a (fatal system error) The session manager initialization system process terminated unexpectedly with a status of 0xc000003a (0x00000000 0x00000000). the system has been shut down. So, is this indeed an xp error message, and if so, why am i getting it after formatting everything?
View 3 Replies
View Related
Sep 17, 2010
I've asked this question more or less before on stackoverflow and believed it to be solved (hence accepted the answer) but it turns out it wasnt solved.In simple terms, I've written a python script which just outputs text constantly to stdout, thats all it does 24/7. I've linked it to this xinetd file
service myservice
{
instances = 1
[code].....
View 2 Replies
View Related
May 27, 2010
How to assign CPU and memory resource to a certain process? How to assign CPU and memory resource to a certain user?Let's assume the software is no limit for resource usage.Below is a description of my situation.dual 6 core, 32G memory, RHEL5.5 client with workstation option.I run a big computation (say process1). However, I found from KDE system guard the CPU and memory are not loaded as expected. below are numbers. user% system%process1 100 0.00and CPU idle 90%, memory free 97%
View 3 Replies
View Related
Feb 4, 2011
I 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"
View 3 Replies
View Related
Apr 8, 2010
I 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 Related
Jul 8, 2011
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 Related
Mar 5, 2010
Is 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?
View 1 Replies
View Related
Mar 16, 2011
How can I find out which process is listening on a port on linux?
View 5 Replies
View Related
May 16, 2011
Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
View 2 Replies
View Related
Aug 12, 2011
Possible 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
Apr 21, 2011
I have a script that calls other scripts/commands which may or may not spawn other process. From my understanding, when I do a ps -ef, the highest numbered process ID is supposed to be the parent ID of all the other related child processes, is this correct? In most or all circumstances, I do a ps -ef | grep <processid> of my script and anything that spawns off that process IDs I assumed are the child processes of my script. If I want to terminate my script and all other child processes, then I kill the parent ID which is the highest numbered PID and this will subsequently kill all other child process IDs, is this correct?
Now, my question is whether there is any quick way of showing what are the child processes of a parent ID instead of what am currently doing now which is visually checking which one is the parent ID and "assuming" that the highest numbered PID is the parent ID of all the other processes. Below is a sample output of running ps -ef | grep exp | grep -v grep. I assume from the output below that the parent process/ID is PID 11322, is that correct?
Code:
oracle 11154 11153 0 21:20 ? 00:00:00 /bin/sh -c (. ~oracle/.profile; /bin/ksh /usr/local/oracle/scripts/expdp_o
oracle 11155 11154 0 21:20 ? 00:00:00 /bin/sh -c (. ~oracle/.profile; /bin/ksh /usr/local/oracle/scripts/expdp_o
oracle 11190 11155 0 21:20 ? 00:00:00 /bin/ksh /usr/local/oracle/scripts/expdp_schema.ksh dev01
oracle 11322 11190 0 21:20 ? 00:00:00 expdp
View 2 Replies
View Related
Apr 23, 2011
as the title,I want learn how it works.
View 1 Replies
View Related
Jan 10, 2010
Does anyone know how to do a 'shadow' session with freenx client, qtNX?I don't see any options in that particular client to 'attach' or 'shadow' a current X11 session. Does anyone have a slackbuild for nomachines NX client?
View 2 Replies
View Related
Sep 10, 2009
I started a process in a PuTTY session that I want to survive after I've disconnected. I issued a `disown` on the process (forgot to add the -h option). I've attached a small summary of the commands issued within the PuTTY session as well as an excerpt from the pstree (essentially switched user contexts twice, issued command, suspended program, disown'ed, resumed program
Command summary
Code:
> su -
> ...
> su -l <useraccount>
> ./myprogram
[Code].....
View 2 Replies
View Related
Feb 15, 2011
Is there any command to find out for how many Milli seconds a process is been running?s -a -o pid,etime | grep "process pid" gives the time in min:seconds. I wanted in milliseconds .
View 10 Replies
View Related
Sep 13, 2010
I have a debian server default installed and i am trying to get cross subdomain session to work. I used this code to test on 2 subdomains
<?php
session_set_cookie_params(0 , '/', '.domain.ltd');
session_start ();
[code]....
View 1 Replies
View Related
Mar 18, 2010
i want to let client download file using apache only!it will tell apache generate a session and let client download the file using that session!it that possible? what method or module should i use?
View 1 Replies
View Related
Feb 15, 2011
well i have just started with shell scripting...how to find all child processes of a parent process given to script as argument.
View 10 Replies
View Related
Oct 15, 2010
Running Ubuntu 10.04 to 10.04 over LAN; I can SSH -X into my server just fine, and am able to launch various applications (Nautilus, Gnome-Terminal, Disk Utility, etc) but I'd really like a Gnome desktop. When I've tried the various StartX commands and gnome-session, but something just isn't clicking. Is there a way to have a 'second' Gnome session running on the client over the first?
To pre-empt some obvious solutions; I don't wish to use VNC, the lag drives me nuts, and I'd like to keep my gnome session running on the client machine if possible. If it's not possible, that's fine; it just seems like there'd be a way to do it?
View 1 Replies
View Related
Jan 12, 2010
I was working normally and the GUI just failed, all I could still see were any open windows. I rebooted the machine from tty1 and now I can't login anymore under my normal user accounts.
I enter my credentials, it appears to login, and immediately goes back to the login screen. Note that under tty1 I can still login with my user account and do everything.
I can still login with root in the gui.
/var/log/messages says this
Code:machine checkproc: checkproc: can not get session id for process 9839!
View 9 Replies
View Related
Mar 28, 2011
I have ubuntu 10.04 & I telnet to windows vista. Even if I create a hidden process [URL].. from batch file . It seems the process gets killed when I end connection at port 23 to host. Maybe , the hidden process created is still child of current telnet session so tree is killed as session ends. Is there a way to keep process running even after telnet session has ended ?
View 6 Replies
View Related
Jun 8, 2011
I am currently struggling with one of my tasks.I was asked to find a way how to determine how much time an _already running_ process is spending in user and kernel space.E.G. <some tool> <pid>[Control] + [c]<pid> spent 12.1 seconds in user and 1.52 seconds in kernel space.Does something like this exist? Basically I guess I am looking for something similar to time, except that the process is already running.So..a) Is there a tool which fulfills this task?b) Is there a way to write your own software which does the job? Is it even possible to code something I am looking for?I recently found strace -c -p <pid>, but well, this is not exactly what I was looking for.
View 3 Replies
View Related
Jul 24, 2010
There are often times when the best way to launch an application is from the terminal, but it is a graphical application and after it is launched the terminal is useless.
Examples of places where a terminal is convenient are when a process starts lots of child processes and is also unstable; you can be sure to kill all of its children simply by using Ctrl-C at the terminal. Also it allows me to read program output and to set up the terminal environment to be optimal for the application (for example "unset LIBGL_ALWAYS_INDIRECT")
With GNU screen, I can get around the hassle of having a terminal window open by using something like the following in a terminal window:
Code:
screen
my_command
Ctrl-A d
and then I can close the terminal and the program will keep running. Then I just type "screen -r <Tab>" (the tab will get me my screen session if there is only one such session) in any terminal window, even a tty, and I can get the screen session back and use Ctrl-c or something.
So my question is, is there a way to do this automatically so that a launcher or script will start a screen session, inside that screen session start a process, and then detach from that screen session without me having to manually open and close a terminal and type the commands?
View 2 Replies
View Related
Apr 14, 2010
I am downloading a big file on linux VPS, and I am connecting remotely via Putty to do it? Once I initiated the wget command to download the file, if I close the putty window, will wget continue to download the file in the background even though the session is technically closed?
View 11 Replies
View Related
Apr 11, 2011
I have been tearing my hair out with this. As part of a backend perl script i am holding the Epoch time as session data using apache session and mysql so i can delete sessions after an expiry period. When I retrieve the time it is about three months old even when i only just set it. The code example below best describes the problem:
View 5 Replies
View Related
Jun 22, 2010
Apache2 on Ubuntu 10.04 no longer parses PHP files. I've done a complete uninstall and reinstall of both Apache and PHP, but no joy.In the Apache2 log, I get this message: /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object fileI've done the obvious and checked that the library is there and it is. It has permissions of 644 (rw-r--r--).Does anyone know what I'm missing here?
View 9 Replies
View Related