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


ADVERTISEMENT

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

Fedora :: Schedule A Process To Start At A Specific Time (not On Start Up)?

Jan 19, 2010

I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.

So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.

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

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

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

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

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

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

Programming :: Check If $var Is Not Start With 0

May 25, 2010

I need to check if $var is not start with 0

Code:
read var
if [ $var IS NOT START WITH 0 (or something like 006077) ];then echo 'Good'

View 15 Replies View Related

Slackware :: Could Not Start Kdeinit4. Check Installation?

Sep 9, 2010

KDE update a number of components in tonights update. When I have gotten this error the past I could simply delete the .kde folder in my home directory and KDE would rebuild one and start. Doesn't work this time.Am I missing something or has something failed to download and install properly

View 1 Replies View Related

Slackware :: Could Not Start KDEinit4 - Check Installation

Jan 9, 2011

So I closed out X with ctrl+alt+backspace, and when I did startx it showed the Nvidia splash screen like usual, then shows for just a second that loading splash screen that KDE does. Then a little box pops into the top left corner that says "Could not start kdeinit4. Please check installation." I hit okay on the box, it takes me back to the terminal. I try again, same result. I reboot. Same result. So I use xwmconfig to change to enlightenment, which boots up fine. So I ctrl+alt+backspace out and retry KDE again, with the same problem.

This is the first time I've closed out KDE in over a week, so I guess its possible that anything I've done over that time may have somehow broken it. I hadn't noticed any problems til now. The only reason I did it this time was because I'd changed the KDE plasma theme and I wanted to watch the new one boot up. I'm typing on the same computer and the same Slackware installation right now, just running E instead of KDE.

View 14 Replies View Related

Ubuntu :: 10.10 - What Process Start Thrashing HD

Nov 20, 2010

ubuntu 10.10 At times something starts thrashing the HD. Often after the computer has been taken out of Suspension. The whole things slows down and stays slow. This can be fixed by logging off (which takes quite a while under this condition while the HD light stays on, solid) and logging back on. Then the system becomes responsive, with only HD light flickers. Anyway, I can't determine what process is doing the thrashing. System Monitor doesn't show any memory problems, and neither do top or htop. htop shows plenty of swap space available, and memory usage is on par with what it looks like when there is no thrashing. Is there some tool that can display what processes are running the HD so hard?

View 3 Replies View Related

General :: Start Process Automatically?

Jul 7, 2010

I want to start process automatically For Ex:- To start snort it need the root user, So here I need a script which will start snort automatically without asking the root user or password.So that I can start snort from anywhere as same as root

View 3 Replies View Related

Ubuntu :: Each Time Start The Computer - Have To Check The Disk

May 19, 2011

When I start the computer I receive the message that the drive that contains the /home partition has an error. If I press "F" the screen says that the drive is no ready, that I can wait, cancel or manually recovery. If I wait, in about 1 minute, the system starts normally. If I press "M" to repair manually, then I press fsck to repair the disk and apparently repairs the disk. But everytime I start (power on) the computer, Ubuntu always checks the disk and gives a dialog where I can: press F to attempt to fix the errors, I to ignore, S to skip mounting or M for manual recovery

View 1 Replies View Related

Debian :: How To Add Own Application In System Start Process

Sep 25, 2015

I am new to this debian plotform. How can I add my app to init.d linkup.

I did my programe for I2C Bit banging method and got output on Beaglebone black rev.C hardware.

I want to run my code after booting of beaglebone with out connecting to laptop or login process.

I want just powerup,then run my programe default.

/***************************Extra Information*************
#etc/inittab file
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

[Code] .....

View 0 Replies View Related

Ubuntu Installation :: 10.10 - No Enough Space To Start Process

Dec 4, 2010

I have just build a new computer, and I want to install Ubuntu 10.10 on it. The problem is that when I run the Live cd and start the installation it cant find enough space to install. I have a 1TB WD Black Caviar disc installed and I can see that the BIOS detects it.

View 3 Replies View Related

Ubuntu :: Process Continue After The Start XAMPP?

Apr 20, 2011

I have installed XAMPP in Ubuntu, but I do not know how the process continue after the start XAMPP.

View 3 Replies View Related

Ubuntu :: During The Start Up - Stopped To Respond While Doing A File System Check

Mar 4, 2010

Suddenly today during the start up the pc stopped to respond while doing a file system check...

I switch it off, restarted and everything seemed to be fine, i got the desktop without troubles.

Then i tried to boot from the live Key and run a fsck but it didn't work, i got some error like:

superblock could not be read....and at the end it says to run e2fsck

I did it and i got the same error...

So i restarted ubuntu and i decided to try:

And i got a blue screen where i selected the first option (something alike restart in normal way)

At the next restart i finally got the checking and it was fine! why i can't run fsck or e2fsck from live key

View 1 Replies View Related

General :: Unclean Shutdown / Reboots - Check Forced On Start-up

May 23, 2011

unclean shutdowns/reboots. Whenever I boot/restart, I notice the message "/dev/hdb1 (and hdb2) was not cleanly unmounted, check forced." Then fsck(?) scans them without errors, and everything continues normally. FWIW, hdb1 @ hdb2 are ext2, /boot & /tmp respectively, whereas all other partitions are ext3. Could that (ext2) be why? I checked halt, reboot, umountfs, umountnfs.sh, and umountroot in /etc/init.d, and nothing jumped out at me, though I'm not exactly sure what I'm looking at/for.

View 8 Replies View Related

Ubuntu Installation :: Connect To Itunes For The Start Up Process?

Oct 5, 2010

i just got my iphone ,and as we know it is asking me to connect to itunes for the start up process ... so what should i be doing ? i got wine just installed itunes 7.2 ( ya is a old version but some 1 ol suggested it will b better , i did it ) anyways coming to the point , i c itunes is having some problem,as it is hanging and not working i thought it would .so is there any ways i can install itunes , and will give a better performance

View 2 Replies View Related

Ubuntu :: Start A Non-terminating Process In Terminal Window?

Oct 18, 2010

how to start a process in Ubuntu terminal window that is not killed when the terminal window closes.

View 9 Replies View Related

Ubuntu Servers :: Sometimes Does Not Start - Boot Process But Then Hangs

Oct 31, 2010

Running Ubuntu Server 10.04 32 bit. Sometimes when I reboot it does not start up, It seems to be going through the boot process but then just hangs. I have had a look at the log files and can't see anything, but I'm not really sure what I am looking for.

View 2 Replies View Related

Ubuntu :: Gnome-panel Process Doesn't Start?

Jan 8, 2011

I forced a quick restart with 'sudo shutdown -f now' and when logged back in gnome-panel doesn't start at all. I can right-click on the desktop & run terminal from there, so I'm running web browser from terminal. I tried 'sudo killall gnome-panel' & got 'no process found' I tried doing a full restart, still the same.

I tried running gnome-panel from the terminal.

'gnome-panel' gives me my panel after a 4 or 5 second delay. If I exit the terminal or Ctrl-C I lose the panel again.

'sudo gnome-panel' gives me what appears to be the panel for the root user.

View 3 Replies View Related

Ubuntu Servers :: 10.04 - MySQL Process Does Not Start At Boot

Apr 13, 2011

On my Ubuntu 10.04 LTS Server, mysql does not start at boot. I tried this but does not work.
Code:
root@dev:~# chkconfig mysql ON

The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'K02mysql' missing LSB tags and overrides
insserv: warning: script 'S10vzquota' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs .....

How to make sure mysql process comes up automatically after every reboot

View 4 Replies View Related







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