Server :: Program To Fetch PID Of Running Process

Mar 5, 2010

I want to access the process control block to retrieve a process' pid and priority. Any code or the steps to do it.

View 9 Replies


ADVERTISEMENT

General :: Limit The Upload / Download Of A Program Already Running (A Process)?

Jun 2, 2011

I have already tried trickle and wondershaper. I need a program that can limit the speed of download/upload of an already running program. Similar to the how NetLimiter in Windows limits already running processes. Using Linux.

View 1 Replies View Related

General :: Running Program In Background In Child Emulator Process

Aug 26, 2009

I wonder how one can, if at all, run an X program in the background *in an emulator sub-shell process*. What I mean is to launch a program in an emulator, e.g, by xterm -e gedit

but with gedit (in this example) running in the background from inside the xterm sub-process, so that the xterm will accept other commands. In the above, gedit will run in the foreground, and of course, if you do
xterm -e gedit &

then xterm will run in the background, not gedit.In short, I would like to achieve the same thing as "gedit &" as you manually do in xterm, but from another shell. What I aim to do is write an X init script to achieve this result (to have the emulator open and a program or two running from it, in the background, at the X startup).

View 2 Replies View Related

Ubuntu :: 140 Process Running On 9.10 Server?

Mar 5, 2010

I am running an Lamp ubuntu 9.10 server and are all these processes supposed to be running?

Memory:

1829 www-data 209080 kB /usr/sbin/apache2 -k start
2052 www-data 207560 kB /usr/sbin/apache2 -k start

[code]....

View 3 Replies View Related

Server :: Running Process That Sends Email When Returns 0?

Jul 20, 2010

a file or a process that is always running and pinging for example [URL]. returning 1 or 0, when returns 0 (that means have no response) do something else. i already made the something else, basicly sends an email etc.

View 1 Replies View Related

CentOS 5 Server :: Suddenly The Load Goes To 100 Or 80 But There Is No Wearied Process Running?

Jan 31, 2010

recently i setup new LAMP server , after some days faced a strange problem? suddenly the server load goes to 100 or 80 but there is no wearied process running? the normal lod is between 0.5 to 1.5? the server have 2 hdd on hardware raid 0

[Code]...

View 18 Replies View Related

General :: Running Synaptic On Pcos 2009 / Error Failed To Fetch?

Jan 20, 2011

when I run synaptic I can open the list of apps. and select but then I apply to download and get "error we failed to fetch etc etc." Seems to be an rpm problem but not sure. ????

View 1 Replies View Related

Server :: Unable To Shutdown/reboot Server, No Shutdown Process Running?

Mar 30, 2010

I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

View 5 Replies View Related

Debian :: Running Same Process Multiple Times(from Another Account) / An Instance Of Newsbeuter Is Already Running Error?

Aug 6, 2010

Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.

View 1 Replies View Related

Debian :: Error - Fetch Failed: W:Failed To Fetch Bzip2:/var/lib/apt/lists/partial

Feb 13, 2011

Lately when I've tried to update my packages many of them don't update. I get nothing out of the ordinary when using the terminal but when I try to update via the Update manger I get this error message:

Code:
Error message:
Fetch failed: W:Failed to fetch bzip2:/var/lib/apt/lists/partial/mirror.steadfast.net_debian_dists_testing_main_source_Sources Hash Sum mismatch
W:Failed to fetch bzip2:/var/lib/apt/lists/partial/mirror.steadfast.net_debian_dists_testing_main_binary-amd64_Packages Hash Sum mismatch, W:Failed to fetch http://mirror.steadfast.net/debian/dists/testing/updates/main/source/Sources 404 Not Found [IP: 208.100.4.53 80]

[Code]...

I've tried several different mirrors but get the same error with every one. Same result with ftp as well. Yesterday I upgraded to Wheezy and every package successfully upgraded, but today the problem started again.

View 10 Replies View Related

General :: Why Does Running A Program In Bash Work, When Running It In The Menu Doesn't?

Jul 26, 2010

I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....

I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).

View 1 Replies View Related

Server :: Unable To Fetch Archives / Why Is This?

Aug 3, 2011

Code...

Why does it come like this?
Should I do any changes in /etc/apt/source/list?

View 3 Replies View Related

Server :: Running CentOS 5.4 - SpamAssassin & SendMail - Starting Spamd: "child Process [3956] Exited Or Timed Out Without Signaling Production Of A PID File"

Mar 26, 2010

Brand new to Linux. Sort of got thrown in front of the bus if you know what I mean. The company I work for has a Linux server running CentOS 5.4 Company uses Linux for their Email, FTP and Web Server. Have been here a few years dabbling in and out of Linux and now that the old Admin has left the company.....I need to learn it ASAP. The server has run pretty solid until today.

The email server runs SendMail and SpamAssasin. Received lots of complaints today regarding extra SPAM. Noticed that SpamAssassin was not running. Tried to restart it through the WebMin tools and got the following error: Starting spamd: child process [3956] exited or timed out without signaling production of a PID file: exit 255 at /usr/bin/spamd line 2588.

View 1 Replies View Related

Software :: Any Way To Fetch Last New Unread Emails Of Mine From Mail Server

Mar 16, 2010

I wanted to know is there any way to fetch last new unread emails of mine from a mail server (like gmail or yahoomail or) with a command and make text file from them in a appropriate directory.

View 1 Replies View Related

Server :: Get_schannel_session_key: Could Not Fetch Trust Account Password For Domain 'MYDOMAIN'

Feb 7, 2010

using samba-3.4.5.I am trying for join samba server[on linux] to domain controller[windows2003], with security=domain in smb.conf. net rpc join -U Administrator%MyPassword But it fails with following debug messages.

rpccli_netlogon_set_trust_password: unable to setup creds (NT_STATUS_ACCESS_DENIED) !
rpc command function failed ! (NT_STATUS_ACCESS_DENIED)
get_schannel_session_key: could not fetch trust account password for domain 'MYDOMAIN'
net_rpc_join_ok: failed to get schannel session key for server MYSERVER for domain MYDOMAIN. Error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
unable to join domain MYDOMAIN

return code = -1.

View 2 Replies View Related

General :: Networking - How Much Bandwidth Program Process Use

Jun 8, 2011

On occasion I see my bandwidth usage using the gnome system monitor going up to 300kbit/s. I just cant figure out what is causing it. I want to know what process or program in using my network like that? I do ssh into different machines and servers, where I would really like to beable to monitor bandwidth usage. It would be very useful to know which utilities people use to see what bandwidth is being used and by which applications / programs / processes / or threads. I don't even know where to start looking. The two small programs I have found are insufficient. bmon and bwm-ng. And tools like wireshark (packet sniffers) are over kill. I would like some thing in the middle, preferably text console based.

View 3 Replies View Related

General :: Create A C Program For An Orphan Process?

Jan 11, 2010

How to create a c program for an Orphan Process ?

View 5 Replies View Related

Ubuntu :: Keep A Process Running From Ssh

May 21, 2010

I recenlty set up a headless linux home server by my router will my spare computer parts. I have NFS and even a COD4 server running on it for my friends and me. Because the box is headless, I take controll over it with ssh and start the COD4 server from there, but the problem is, if I close the terminal I have the ssh running from, it closes my server, meaning my desktop needs to be up and running the entire time. That kinda ruins the point of my server

So my question is, is there a way for me to run the command so that it will not close with the terminal AND that I can still send commands to the server.

View 9 Replies View Related

Software :: How To Tell Which CPU Process Is Running On?

Apr 8, 2009

How do I figure out which CPU's a process has used recently or is currently using?

View 2 Replies View Related

Debian :: Program For Automatic Or Remote Reboot Process?

May 21, 2010

I looking for a program for automatic or remote reboot process...

Soon I order a VPS and needs a Call of Duty (or other games too) server restarter, if its crash...

View 3 Replies View Related

Software :: Execute A Program As The Very Last Step Of Boot Process?

Feb 2, 2011

I want to execute a program at the very last step of Linux boot process. For Debian based Linux distro that uses BSD boot process, I came up with 2 solutions:

1) I should somehow call my program from the /etc/rc.local script (although is this the last step of the boot process?)

2) Use the "multi_end" and "sysinit_end" hooks for executing it at the end of rc.multi rc.sysinit respectively (I don't know how to do it though).

View 6 Replies View Related

Software :: Finding Out Which Process Calls Program / Script

May 19, 2010

SuSE 11.2, KDE 4.2 after logging in to runlevel 5: I have a process which is calling every 5 seconds /sbin/usbmod (which doesn't exist, hence I get lots of errors when I go to the screen with the boot messages). I want to know which process does the calling. How can I find out?

View 4 Replies View Related

General :: Ps Show Where Process Is Running From?

Nov 10, 2010

Is it possible, using ps, to determine where a process is running from? I have two applications, both are identical and running in parallel directories, such as /app1/start.sh and /app2/start.sh. If I run ps -ef then I'm unable to tell the difference between the two

Using ps (or alternative), how can I tell that PID 123 belongs to app1?

View 3 Replies View Related

General :: Cron: Run A Process But Only If It Isn't Running?

Feb 10, 2011

Is there a way for me to tell cron to run an app BUT not run it if a process exist already?

View 5 Replies View Related

Ubuntu :: Plymouthd Process Always Running

Jun 17, 2010

If I run top, there's a process plymouthd always running, often taking a few percents of CPU. I found that "plymouth" would be a splash screen. My PC is booted already though, I don't need a splashscreen once it has booted. Is this a bug? How can I get rid of this process that always uses %CPU?

View 2 Replies View Related

Ubuntu :: Unknown Process Always Running?

Mar 8, 2011

Maybe someone can shed some light on this process that is running. It is using my CPU about 100% since there are 2 instances of it running with about 50% used by each.abc_sieve_2.10_i686-pc-linux-gnuI've never noticed it running before and don't think I've installed anything except updates.

View 6 Replies View Related

Debian :: Switching Into Running Process?

Mar 9, 2011

if i start a program over ssh by 'foo &'how can i go back 'in' this process, so i could see the output and type in commands?

View 1 Replies View Related

Red Hat / Fedora :: How To Get Running Process State

Jul 2, 2009

I 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 Related

General :: Way To See Only Process Running In Background?

Feb 23, 2011

Is there some way to see only the process running in the background?

View 4 Replies View Related

General :: Get The Notification Of Process Which Are Currently Running?

Apr 7, 2011

How can i get the notification of process which are currently running?

We wrote one script which is being fired for every minute, instead of that is there any to trigger the event from linux core implicitly if there is any change in my process(pid)?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved