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


ADVERTISEMENT

Ubuntu :: [server] Find The State Of A Process

Feb 16, 2010

On 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 Replies View Related

Programming :: Checking Os And Process State At Run Time?

May 11, 2010

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

Fedora :: Stellarium - Destroyed While Process Still Running

Jul 11, 2009

I have stellarium 0.10.2 but whenever I run it, it does not save my settings. A look at its output is:

Code:
$ stellarium
QProcess: Destroyed while process is still running.
[ This is Stellarium 0.10.2 - [URL] ]
[ Copyright (C) 2000-2009 Fabien Chereau et al ]
Writing log file to: "/home/arthur/.stellarium/log.txt"
File search paths:
0 . "/home/arthur/.stellarium"
1 . "/usr/share/stellarium"
Config file is: "/home/arthur/.stellarium/config.ini"
Sky language is: "en_US"
Application language is: "en_US"
Loading Solar System data ...
Loaded 38 / 38 planet orbits
Loading star data ...
Loading "stars_0_0v0_1.cat": 0_0v0_1; 5013
Loading "stars_1_0v0_1.cat": 1_0v0_1; 21999
Loading "stars_2_0v0_1.cat": 2_0v0_1; 151416
Loading "stars_3_1v0_0.cat": 3_1v0_0; 434064
Finished loading star catalogue data, max_geodesic_level: 3
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06
Loaded 10051 / 13226 NGC records
Loading NGC name data ...
Loaded 222 / 222 NGC name records successfully
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 89 / 89 constellation names
Loading constellation boundary data ...
Loaded 782 constellation boundary segments
Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab"
Loaded 230 / 230 common star names
Loading star names from "/usr/share/stellarium/stars/default/name.fab"
Loaded 3215 / 4359 scientific star names
Creating GUI ...
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2

The failure continues for as long as the app is running.

View 14 Replies View Related

General :: X86 Distro Running From Solid-state Memory?

Jun 25, 2010

I'd like to build a compact x86 host running off a CompactFlash or some equivalent solid-state memory instead of from a SATA disk, to reduce the risk of failure once they're deployed at customers' premises. Those are SOHO users, so performance is not an issue, but stability is (The less I have to drive to replace faulty hardware and restore data, the better.)

Do you know if the usual suspects (Ubuntu, CentOS, Gentoo, etc.) can easily be made to run from solid-state memory, and if yes, is there some good documentation to customize them thusly?

I assume it's just a matter of tweaking /etc/fstab, but it could be more involved.

View 7 Replies View Related

Server :: Keep Servers Running In Stable And Secure State?

Aug 2, 2010

As 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?

View 4 Replies View Related

Networking :: Ethernet Interface Leaves RUNNING State After Some Time

Jul 29, 2011

I am using RHEL6 on a server with 3 interfaces.

eth0 is connecting via a Cisco switch to the outer world and eth1 and eth2 to internal networks.

eth1 and eth2 are working without problems all the time, however I have the following incident with eth0: although it is RUNNING, and after it works for some time (like some hours), it then becomes incapable of sending/receiving traffic. Here are more details, after the interface exits the RUNNING state:

[root@mgt ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr E4:1F:13:6C:87:74
inet addr:9.162.91.26 Bcast:9.162.91.255 Mask:255.255.255.0
inet6 addr: fe80::e61f:13ff:fe6c:8774/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1

[Code]....

I am wondering whether there this is because there is not traffic for some time and so the interface goes to idle. Is there any parameter I can tweak in RHEL6 to force the interface to remain RUNNING even in the absence of traffic (although I would be expecting that some 802.1 packets would be periodically flowing from the switch to the interface)?

View 1 Replies View Related

Fedora :: Unable To Keep Input Method Running Giving Up To Bring The Process Up?

Sep 13, 2009

i upgrade system from fedora10 to 11 when i start the system i got following error

Unable to keep input method running giving up to bring the process up because main input method process for SCIM rapidly died many time.See .imsettings.log for more details

.imsettings.log file contains this

imsettings information
==========================
Is DBus enabled:yes
Is imsettings enabled:yes
Is GTK+ supported:yes
Is Qt supported:no

[Code]....

View 1 Replies View Related

Fedora :: Way To Reduce Running Time / Memory Requirement Of Update Process?

Aug 14, 2010

I have an Acer Aspire netbook with 1GB RAM and 1.6 GHz dual-core 32-bit x86 chips. The KPackageKit / yum / rpm chain is running too slow for me. In addition to the time required to download any new packages or updates, it seems to require at least one full minute of processing time to install each package, update, or bug fix, no matter how small. Another full minute is consumed for each package in "cleaning up."Running yum from the command line takes nearly the same amount of time.During this time, I cannot run any other applications without severe thrashing. It seems that a full gigabyte of memory is in use with some 100M swapped out to disk.

Is there any way to reduce the running time and memory requirement of the update process?While not updating or installing software, I do not normally run out of memory (i.e. begin thrashing) until I have about a dozen browser tabs open, or the like.

View 9 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

Server :: Kill The Process In " D" State?

Apr 26, 2011

Is there anyway to kill the process under " D" state ? Googled , but not succeded .

View 1 Replies View Related

Fedora Installation :: While Running DVD Can't See Anything On Screen During Installation Process

Apr 22, 2011

i am trying to dual install fedora 14 alongside my current windows 7 home premium 64-bit. the main issue that i am having is when running the DVD you cannot see anything on the screen during the installation process so i can't see what i'm doing. other than that the DVD works correctly as far as i know. i have downloaded the iso twice and burned two separate disks and have had the same problem with both disks.

View 2 Replies View Related

Red Hat / Fedora :: Command To Stop That File/process Or Is It Just Kill The Process To Stop The Process?

Nov 11, 2010

I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process

View 2 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

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 :: 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

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

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

General :: Running Process In Background

Jan 14, 2011

Is there any way to run a long process in background so that it still remain in running state even if the user logout the system.

View 12 Replies View Related

Red Hat :: Running A Process Behind The Scenes At Startup?

May 6, 2010

I have not been able to find any information on this, mostly because I am sure I am searching for the wrong terms. Let me explain what it is I need to do.I have a timeclock process that needs to be running all the time on my Red Hat server. Right now, I manually start the process from terminal:Code:# ./timeclockThis runs the process inside the terminal. The only problem is that if I close the terminal by accident, the timeclock stops working. This is all well and good for now, until I get more timeclocks.Then I will need to have one terminal open per. What I would like to do is to make this process run at start up, and run behind the scenes (no terminal). At the same time, I need to be able to re-run the process (again, hopefully behind the scenes) in case the timeclock goes offline or the process crashes.I know very basic things about Linux administration, and I know it is possible to do this (as there are processes now setup by someone else that do this), I just do not know how. EDIT: An idea I had would be to make the script run every minute, checking to see if the process is already running, and if it is not, then to start it. That way it would automatically correct itself if it went offline.

View 3 Replies View Related

General :: Move Running Process To Background

Mar 10, 2011

How do you move a running process to the background? For example, type the command sleep 60 on the command line and try moving that process to the background.

View 1 Replies View Related

Ubuntu :: What Running Process As Root Actually Means

Apr 8, 2010

I just installed Wine (1.1.3* dev release) and installed Notepad++ (OSS) and Net Meter (Freeware, the latest beta is actually OSS too). I also intend to install a few other things later. The only failure so far is the latest WinSCP So it made me wonder about what running a process/software as "root" actually means. When I use U.S.C or 'apt-get install' to install software on my computer, and type my password, it displays that keyring icon on my systray.

Does this mean I am root at that moment? And how about running wine, the wine processes, and any windows *.exe I'm installing and running? I basically am afraid that I am running all the wine-related stuff as root, even though there is no indication that I at least have elevated privileges. What is/are the worst-case scenario(s) about wine?

View 9 Replies View Related

Ubuntu :: Firefox Keeps Freezing The Process Keeps Running?

Apr 23, 2010

Firefox keeps freezing.the process keeps running.I've uninstalled firefox, installed different versions, ie 3.6, 3.7 etc, I've removed my profile folder in my home directory.same results. I've ran firefox as a SU and I get this output from the terminal

(firefox-bin:28892): GLib-WARNING **: g_set_prgname() called multiple times
/home/josh/.gtkrc-2.0:2: error: scanner: unterminated string constant - e.g. `style'
(parent won, so we're not deferring)

[code]....

View 9 Replies View Related

Ubuntu :: Gnunetd Process Running At Startup?

Dec 5, 2010

I installed Gnunet (a secure P2P program) on Ubuntu 10.10 using Ubuntu software centre but had difficulties getting it to work so removed it. However, the gnunetd process loads at startup. It is only visible when typing 'top' in the console and not in the system monitor list of processes.gnunetd --version tells me that it is 0.8.1b sudo apt-get remove gnunetd tells me 'unable to locate package' why the process loads and how to remove it? I can kill it in the console but would like a way of getting rid of it permanently.

View 2 Replies View Related

Ubuntu :: Running A Process Indefinitely As An User?

Feb 27, 2011

i am using Ubuntu 10.04.1 LTS. i only ever contact my ubuntu machine through SSH. everytime i login, i do:

~/downloads/.dropbox-dist/dropboxd &

this launches the dropbox process and all is great. except when i log back into the ubuntu machine via ssh after a few hours, the process no longer exists. how can i get the process to run indefinitely?

View 4 Replies View Related







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