General :: Get UserName In Place Of UID In The Process Check?

Apr 17, 2010

I add a user in my linux machine using the command 'useradd' as shown below. # /usr/sbin/useradd -c "Non Root User" -d "/home/testUser" -g root testUser "/etc/passwd" file shows that user created with uid '517'

cat /etc/passwd
ot:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin

[code]...

View 1 Replies


ADVERTISEMENT

General :: Check A Process Which Is Over Loading The Serve?

May 12, 2011

How do I check a process which is over loading the server. I give command Top andthe average load of the server is so high.

How should I kill the over loading process.

View 5 Replies View Related

Ubuntu :: Place A Process In The Background, Bring To Foreground?

May 18, 2011

q)how can i bring the backgroud process to foreground i tried like below1]hp-linux@hp-linux-desktop:/usr/share$ top

top - 11:28:24 up 1:57, 2 users, load average: 0.55, 0.65, 0.62
Tasks: 158 total, 3 running, 155 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.1%us, 2.9%sy, 0.7%ni, 87.1%id, 3.0%wa, 0.2%hi, 0.1%si, 0.0%st

[code]...

View 4 Replies View Related

General :: Check If Process Is Running / If Not / Execute Another Script

Jul 11, 2011

I have a game server running using java, and it tends to crash sometimes, and only way to start it now is manually, so i thought i could create a script to check periodically if java is running, and if it isn't, run my startup script for the game server also, if it's possible it should log when it actually started the server startup script into a text file or something, so i can check why it crashed.

View 6 Replies View Related

General :: Bash Script - Check Process Is Running, If Not Start?

Feb 7, 2010

I am using Sphinx search on my webserver and it quits after a certain amount of time leaving my search page broken.Here is a bash script that I want to run every 10mins via cron:

Code:
#!/bin/bash
if pgrep searchd | grep "[0-9]"

[code]...

View 24 Replies View Related

General :: Bash Shell Script To Check / If Empty Files Are Being Created & Start Process

Jun 25, 2010

I have an Ubuntu server in which a file is dumped every hour and a new file for the next hour and the process continues. If there is any problem due to which the creation of file stops then empty files are created every minute till the process is killed & started again. I need help to make a shell script to check if the empty files are being created and then kill the process and start it again.It would be a great help if anyone can help me regarding this.

View 9 Replies View Related

CentOS 5 :: Check 'how Much Ram And Cpu A Process Is Consuming'

Mar 19, 2010

I'm trying to check how much ram memmory and CPU is a particular process consuming, i have checked free -m and top but is not esay to undesrtand the output from CPU

What i need is to check the consuming for a particular process; with free -m i'm able to see only the available space of memmry and i want to know how much is consuming a particular process, the same with 'top'

It's hard ot understan the output from top, to many columns and MAY process, not easy to check the process i want to monitor

View 5 Replies View Related

Networking :: Programmatically Check Process Down / Up Stream

Aug 31, 2010

I wonder if there's a way to capture the same information I can get from nethogs to a file. All I need it per process (rather than per interface) what is the sent/received traffic.

View 1 Replies View Related

Server :: Disk Usage By Process / How To Check?

Jan 24, 2011

how to check which process consuming a lot of HDD I/O ? Do You know any good command which can show me which process saving something big on the storage system ? "iostat" or maybe "ps" ? Would be great if somebody could past me here nice command.

View 3 Replies View Related

Software :: How To Check Which Script Start Process?

Sep 7, 2010

When my system starts this command is executed by a script /usr/sbin/apache2 -k start...How can I find which one start it? I check in rc2.d/ dir in the apache script but didn't found anything similar. Where else should I look?

View 7 Replies View Related

Software :: How To Check Which Process Is Accessing Device?

Feb 7, 2010

I wonder if there is a command that can tell me which process is accessing a folder, say, /mnt? Sometimes I forgot which process is accessing /mnt and therefore cannot umount /mnt.

View 4 Replies View Related

OpenSUSE Multimedia :: After Ten Steps Check Process, Still Can't Play Dvd?

Aug 10, 2010

I have been working and searching the forum for a solution to dvds not playing on my hp dv2000 laptop running openSUSE 11.2, 2.6.31.12-0.2-desktopHere are the post ask for in the ten step process. (lots of them)

#1 Check if there are missing dependencies
#1 LC_ALL=C zypper ve
linux-jh3c:/home/carl/11.2Setup/dvd # LC_ALL=C zypper ve

[code]...

View 9 Replies View Related

Red Hat :: RHE WS 5 USB Sticks - Check The Ability To Automount CDs At Various Stages Of Setup Process

Oct 4, 2010

We've just set up 3 Dell systems with 64 bit Red Hat Enterprise Workstation 5. As part of our system configuration we point the user authentication to our LDAP server, and automount people's home directories from our fileserver. At this point, our security people do some configuration and we get it back.

We are typically running KDE. On all three machines, when you plug a USB stick into the system, the familiar window pops up asking you what you want to do - open the contents in some program, open a file viewer, etc. and the stick shows up in /media When you stick a CD or DVD into the drive nothing happens - you don't get the options window and nothing appears in /media I'm trying to get an idea of how the automount process works, and where I may have stepped on it. We've got three more identical machines that haven't been installed yet, so my plan is to check the ability to automount CDs at various stages of our setup process.

View 3 Replies View Related

Programming :: Check If A Process Is Running - Syntax Error Near Unexpected Token `else'

Feb 10, 2011

I have an ubuntu 10.10 server and want to run a script on it to check if a process is running. If it is not running, it will start the process and also write into a log file.

When running the script i get the following error message:

syntax error near unexpected token `else'

Here is my script.

View 7 Replies View Related

General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?

Jan 8, 2010

one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.

View 3 Replies View Related

General :: Elevate The Priority Of A Process Without Process Superuser Rights?

Jan 21, 2011

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.

View 3 Replies View Related

General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies View Related

General :: Sending Signal From Child Process To Parent Process?

Sep 8, 2010

Code:

#include <stdio.h>
#include <unistd.h>
#include <signal.h>

[code]....

Description of what the code does or what i intended to do:

1. Created a child process from parent process using 'fork()'

2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.

(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed

Code:

printf("%d
",msg->cpid);

I expected to get the pid of child process, which the child process sent to parent process through the signal.

View 3 Replies View Related

General :: Process Scheduler A Part Of Process Queue?

Aug 12, 2010

as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.

So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.

View 1 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

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

General :: Process Shows Multiple Process Ids(pids)?

Nov 9, 2010

I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?

View 1 Replies View Related

General :: Using Centos 4 In Place Of RHEL 4?

Jun 12, 2010

I have a software program that when you try to install it on Centos it returns "This programs requires RHEL 4" Is there a work around to get the software to use the Centos software the same as it would RHEL 4?

View 6 Replies View Related

General :: Get The Wireless Networking In Place?

Mar 12, 2010

I have just installed slackware 13 on an old machine I am bringing back into use. As I have a spare Linksys wmp54g card I would like to try to get the wireless networking in place.From reading the forum the relevant advice seems to be fairly old (2004-2006). I wonder if anyone can advise me what the current steps would be?

View 3 Replies View Related

General :: Where To Place Xrandr Configuration

Aug 8, 2011

I have migrtaed from Arch, my first experience with linux for the past 2 months, to Debian and i'm currently setting up my system. I have a X61s Thinkpad with a cracked screen which i use with the ultrabase with an external monitor and keyboard. The monitor requires me to use fbset on console and xrandr for a graphical enviroment Whilst i was using Arch i used 'startx' to access openbox and placed my xrandr configuration in ~/.xinitrc but with debian i have wanted to use a login manager, Slim.

Because i am using KMS for my intel based system i don't have an xorg.conf and because i am using slim i am not using ~/.xinitrc I read somwhere that creating an ~/.xprofile file would solve this but i have not had any luck. So i am wondering where would be the best place to put the xrandr configuration?

View 1 Replies View Related

General :: Primary Point Of Converting Dll To Lib In First Place

Apr 15, 2010

I've been looking for a way to run windows-only vst plugins nativley on linux as well as to find a linux driver for my 1394 audio interface with little luck; I would like to do so without relying on wine, and have come across an idea to work out after stumbling on a utility that converts dll to lib (called dll2lib). The idea would be to convert the dll's for a proprietary fw audio dev and dependent MS libraries and manually change what's needed to make it compatible with linux env. is this possible; will I be able to achieve source code from this? if not, what is the primary point of converting a dll to lib in the first place.

View 2 Replies View Related

General :: If X Window System Is Not Used What Takes It's Place

Mar 22, 2011

If Linux is not in GUI mode, what application handles input and output?

View 6 Replies View Related

General :: Best Place To Start To Learn System?

Jan 24, 2011

I am starting to dive into Linux after being a Microsoft geek for years. Where is the best place to start?

View 6 Replies View Related

General :: How To Place The Java Location In My $PATH

Sep 22, 2010

I have a program that has a GUI which I have placed in /usr/local/bin however when I invoke the program I receive the following error:

Unable to find a supported JDK or JRE version. Version 1.3.1 or higher is required. Check your installation and use +javahome to specify the JDK or JRE location

I have since installed Java into the usr/local/ directory however I am now just totally Lost! Additionally, I believe that i have tried to install Java several times with no luck.

Questions:

1) Where should java be installed to have system wide access to all programs?

2) How can I place the Java location in my $PATH? here I am going to need very easy and detailed instructions?

3) Is there a way to ensure that the location where I intall java gets updates?

View 1 Replies View Related

General :: /sys/class/net/ Is This Is The Correct Place For Eth Info

Apr 12, 2011

Using a python script, I am gathering various info about all the ethernet adapters installed. For this I am parsing all the directories(each directory represent a ethernet adapter) inside"/sys/class/net/" directory.Is this is the correct place and de-facto standard for listing ethernet adapters?I am concerned about modern distros as well as a bit older ones for the presence of this directory.

View 1 Replies View Related

General :: Ran New Process After Sungrid Process Finished?

Mar 23, 2010

I want ro ran new commandy after sungrid finish his task.Exp:qsub -q bla command1; command2 command2 start only when job of command1 finished.

View 9 Replies View Related







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