Server :: Checking Processes Running In The Background And Showing Them?
Sep 10, 2010While executing df command on an AIX Console, by mistake I ended the line with an ampersand:
[Code]...
While executing df command on an AIX Console, by mistake I ended the line with an ampersand:
[Code]...
My University gives us access to a Linux server, named stud1.
Code:
me@stud1:~$ uname -a
Linux stud1.some.univ.ac 2.6.9-89.31.1.ELsmp #1 SMP Mon Oct 4 21:41:59 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Apparently I was logged in, and never logged out sometime:
Code:
me@stud1:~$ who
<snip>
me pts/37 Jan 30 13:27 (6.6.66.66)
<snip>
me pts/58 Dec 30 19:13
but when trying to find out why I'm still logged in, I can't find it:
Code:
me@stud1:~$ ps faux |grep me
root 30030 0.0 0.0 51128 4360 ? Ss 13:27 0:00 \_ sshd: me [priv]
me 30033 0.0 0.0 51132 2336 ? S 13:27 0:00 \_ sshd: me@pts/37
[code]....
how can I logout this unused session?
I post this to have a memo about how I looked into this problem. You can use this command to check what is hidden.
Code:
/usr/lib/chkrootkit/chkproc -v -p 3 | grep /proc/ | sed 's/.*(/proc/[0-9]*).*/1/'| xargs -n1 -I %%% cat %%%/cmdline
If it doesn't output anything, then nothing is hidden currently. This usually means that a process was started between the ps command and the /proc check of chkrootkit. You can check what those command(s) are by running the above in a loop, with high priority.
[Code]...
Does anyone know how to get rid of these false positives while retaining other functionality of chkrootkit?
I am running Red Hat Enterprise Linux Server 5.1. I notice that when my server gets slow and the load goes up, there is a bunch of processes call mi_dmonq running. Does anyone know what this process does? I tried to find it online but didn't find anything. Also, I tried to find the binary on the server but find doesn't return anything. Does anyone know what it is?
View 3 Replies View Relatedhow many terminals are running in background while rhel installation
View 3 Replies View RelatedHow to setup vncserver and keep it running in the background after restart on Lenny workstation? The admin should be able to connect every time via vncviewer to this workstation.
View 2 Replies View RelatedI have something like:cd project && python manage.py runserver &cd utilities && ./coffee_auto_compiler.pyAnd I want both of them to close on Ctrl-C (or some other command). How can I accomplish that?EDIT:I tried using jobs -x kill and kill `jobs -p `, but it doesn't seem to kill what I need. Here is what I mean:oon 8119 0.0 0.0 7556 3008 pts/0 S 13:17 0:00 /bin/bashmoon 8120 6.8 0.4 24568 18928 pts/0 S 13:17 0:00 python manage.py runserverjobs -p give me just process 8119, but I also need to close 8120, since it's the thing that the first command opened.If it helps, the commands are actually in a Makefile, and I want it to run two daemons at the same time (and somehow close them at the same time).
View 3 Replies View Relatedi am using ubuntu 10.4, i have attachedd my desktop screenshot , my problem is that i use no software that uses network but still OS uploads data from my pc, is it something to worry about my network security ? and is any way to check which file is using network and how much it is using. [URL]...
View 1 Replies View RelatedUsing Ubuntu server 10.04.2 64-bit all up to date.
I am running multi-threaded processes. These use OpenMP in my own code and the multi-threaded ACML maths library. When run in the foreground, everything is fine i.e. if I have set
export OMP_NUM_THREADS=8
then when I start all 8 cores are in use and things whizz along. However, when running overnight and logged out using e.g. 'at now + 1 minute' then the command, I am only getting about 130% CPU and it slows down accordingly. I have tried renice'ing and calling from within a bash script in case sh is doing something odd but nothing seems to solve it. I am sure that in the recent past this wasn't the case.
The libraries being used are shared versions in case that might have any bearing.
This might be nothing but when booting a computer directly into the console (tty), and running htop, I expect the list of running processes to be very short, but it turns out I have more than 50 instances of /usr/sbin/console-kit-daemon --no-daemon running (see screenshot below). Is this normal?
View 2 Replies View RelatedI have created a shell script to customise mv command, now i have achieved to accomplish all the functionality of mv by using alias. But i found difficulty in accomplish the funcionality with options [Like mv -i or mv -f etc.]. I thought about logic which check the first argument whether its starting with a minus [-] or not. if its starting with argument it will set a flag and execute accordingly. But whenever this condition is checked it shell script will throw error of destination operand missing. But the same will work with out option.
Note: I have used an minus[-] expression for decreasing a counter on the script above. The below mentioned is the portion of script. Sry for troubling Im not gud @scripting.
for i in $*
do
{
argument=`expr $argument - 1`
if [ $argument = 0 ];
then
exit
[Code]....
my pc is an AMD w/ nforce chipset mobo and nvida card.What I did is select the noapic and acpi=off and it booted fine and I was able to install Edubuntu. The system booted fine except when I'm already on the desktop, I can only see the wallpaper. no icons, can't do anything. I booted on rescue, there's no problem. I can do normal things. and by the way, nvidia driver was already installed.
View 1 Replies View RelatedI have installled ubuntu 9.04 and windows XP. After rebooting the system the desktop background image which i saved earlier is not showing up in Ubuntu.
View 1 Replies View RelatedMy mouse cursor has acquired some strange background image showing what looks to be paragraphs of chinese glyphs (they are too small to make out clearly). This background image is contained in rougly a 1 inch square with the mouse cursor hot spot in the upper left-hand corner. The mouse cursor is visible, but whatever is under those glyphs is covered.
I've tried the mouse configuration gui -- but it says nothing of background images for the mouse. I've also deleted and recreated my xconfig.org file to see if that somehow got mangled. I've been searching the web for a couple of hours, but cant seem to find anything related to my problem.
GNU/linux kernel 2.6, Slackware 12.0.Hi:How do I know what processes are running?
View 6 Replies View RelatedMy usually blank and happy background suddenly lists the things in my home directory. Well, it has icons for them.I have tried the gconf-editor, apps->nautilus->desktop drill, but the stuff is still there. Showed up suddenly about a day ago
View 9 Replies View Relatedi have just started working on LINUX. how to check if there are some bad scripts running on the server.
View 3 Replies View RelatedI list all the instances of a running process my doing:ps -ef | grep myprogramThis lists all them.how can I simply output a count of how many are running?
View 2 Replies View Related1. i need to check whether the oracle database is running or not if it is running it will run auto mount script.nohup /u01/app/oracle/product/11.2.0/dbhome_1/bin/dbfs_client dbfs@xxxxx -o allow_other,direct_io /u01/app/oracle/DBFS/XXXXX < /home/oracle/passwd_dbfs.txt&nohup /u01/app/oracle/product/11.2.0/dbhome_1/bin/dbfs_client dbfs@xxxxxx -o allow_other,direct_io /u01/app/oracle/DBFS/XXXXX < /home/oracle/passwd_dbfs.txt &2. For every 1 hour i need to check above mount points is mounted or not if it is not mounted it should be mounted.
View 3 Replies View RelatedDoes Debian 6 "Squeeze" automatically run boot processes in parallel if not how do I
configure it to do so. Here is the quote from my /etc/init.d/rc :
# Specify method used to enable concurrent init.d scripts.
# Valid options are 'none' and 'makefile'. Obsolete options
[code]...
I would like to do the following: Create a banner for any user logging in through ssh which warns him/her about the number of processors being used already by other users (or conversely the number of free processors). For example, if a user logged in he would then see a message like: Warning! 7 out of 8 processors are in use.I already figured out how to do a banner and with ps -e -o pcpu I can get all processes' %CPU usage. I think I would like to count the number of processes which have more than 90% CPU usage and output this number ("7" in the example) in the banner
View 7 Replies View RelatedTo: The Cog >>>
Code:
The Cog, heres the reszults for ps -ef | grep tty:
yo mama@blah:~$ ps -ef | grep tty
[code]....
Ubuntu 10.10. I am curious if there is kind of task manager in ubuntu I can see running processes etc? Like windows task manager?
View 5 Replies View RelatedHow can I find the PID for all processes running for a particular port?
View 3 Replies View RelatedI have p1,p2,p3,p4 some processes created by me in C. p1, p2, p3 are started individually from several consoles. And I want process p4 to terminates processes p1, p2, p3 if they are running. Which is the easiest way to accomplish that? put all processes in the same process group and send from p4 a kill signal to the group. But I couldn't do that because I cannot call successfully setpgid(getpid(), 15000) from p1-p4. It's there some way to put them in the same group? the processes don't have a child-parent relationship, they are launched manually from consoles.
View 1 Replies View RelatedWhen I ps -e, I see a whole bunch of processes, many more that when I ran Slackware.Is there a list of processess I can look at to see what they are and what ones I dont need, instead of googling each one and getting some cryptic explanation?
View 2 Replies View RelatedI have been running 10.4 with no problems for some time now. Today when I booted up it started checking the drive for errors, and I just left it to do its thing. I came back to this warning screen: Ubuntu is running in low-graphics mode.Your screen, graphics card, and input device settings could not be detected correctly.
I've tried all of these with no luck. When I select to run to low graphics mode, it says "Stand by one minute while the display restarts...OK".I select OK and then it gets stuck checking for battery state.I try to reconfigure the graphics, and nothing happens when I select any of the options on the next screen.
is there any possible way to hide currently running processes from an user? This means I do not want him to know about what programs/processes does any other user but him run. In short words if that user runs 'ps -aux' he should get only his processes.
View 3 Replies View RelatedI'm looking for a command that will give me a list of users (unique, dont name my user account 60 times) that are running processes on a system.
View 5 Replies View RelatedWhen I open top and look at the running processes, there a bunch that are -5 in the nice and 0 with everything else.
[Code]....