Sponsored Content
Top Forums Shell Programming and Scripting Start program depending on processor workload Post 302772975 by panyam on Wednesday 27th of February 2013 06:21:32 AM
Old 02-27-2013
Hi,

I am not sure about the MPI process etc,

(1) However, you can check the processor work load using either "top" or "mpstat" and see if it's fall below the benchmark.

(2) If so , start the script ( before starting , you can "grep" for the previous process like : ps -ef | grep "give the name of the script/process" to see if it's running.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I start a program when I start my Computer?

I'm running MAC OS X and I'm wondering how I start 'nixey programs (not normal apps) on startup? Things like the dnet client and hxd Hotline Server. Anyone know? (1 Reply)
Discussion started by: l008com
1 Replies

2. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

3. Shell Programming and Scripting

How can I make a program start up automatically after the computer restart/startup?

hi all How can I make a program start up automatically after the computer restart/startup in fedora? something like: ... Establish a shell then run some of command code. Thanks for Help!! (1 Reply)
Discussion started by: munna_dude
1 Replies

4. Shell Programming and Scripting

start a program with other user's permission

I have some of programs in unix system which are to started with one_user say "xxxx". I have sudo permission if i start these programs with sudo it shows root permission. But i want these programs permession should be "xxxx". I tried "su user_name -c Program_name" but it is not... (3 Replies)
Discussion started by: srikanthus2002
3 Replies

5. Programming

How to start a process in linux using C program??

I have a set of attributes such as group id,group name,etc related to a linux process. Iwant to know how to start a process in linux using C program.Plz do help me. (3 Replies)
Discussion started by: vigneshinbox
3 Replies

6. Shell Programming and Scripting

Start program in background (or start crontab ahead of time)

Hey! I'm working on a script that will add a user, create some configfiles, and add a crontab for the user. The crontab looks like the following: @reboot /home/user/program config.conf & I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies

7. Homework & Coursework Questions

little start c program

hello, i wil make the next mission: give how many chambers in a constant number. use an array which chamber is free and count how many chamber there are free. make also something to test I don't now how to start. I need an little example so i can make the mission thank you (10 Replies)
Discussion started by: wouter88
10 Replies

8. OS X (Apple)

A program crashed my iMac so bad that it could not start up.

Hi, Solid as a rock or ... Is it possible for a program to damage an iMac (Snow Leopard) so bad that it cannot start up again, and need to be repaired? I am asking about this, because this seems to have occurred two days ago, when I was running a popular game program. When I closed the... (6 Replies)
Discussion started by: ASL123
6 Replies

9. Fedora

[Solved] Unable to start Matlab program

hello everyone, I have Matlab installed on Fedora 16. I tried running it by simply typing on terminal: $ matlabBut it returned the follwoing error: --- can anyone suggest a solution? cheers, peter ---------- Post updated at 10:57 PM ---------- Previous update was at 10:54 PM ----------... (1 Reply)
Discussion started by: peter_071
1 Replies

10. Shell Programming and Scripting

Bash script to start program and answer prompts?

I'm trying to write a script the simplifies the execution of a program: After starting the program (sh ~/.mfix/model/make_mfix) I am prompted four times for options: Do you need SMP version? (y/n) Do you need DMP version? (y/n) Do you need debug version? (y/n) Force re-compilation of... (2 Replies)
Discussion started by: lanew
2 Replies
BLTK.CONF(5)						Battery life tool kit configuration					      BLTK.CONF(5)

NAME
bltk.conf - config file for bltk DESCRIPTION
bltk.conf may be used to control particular features of bltk. By default, bltk looks for the file in /etc direcotry. FORMAT
The format of bltk.conf is very simple. Each line is either a comment or a directive. Comment lines start with a # and are ignored. A directive line has the format: option=value It is important to note that it is an error to put any space between the option, = and value. Each setting has a compiled in default which may be modified in the configuration file. .BOOLEAN OPTIONS Below is a list of boolean options. The value for a boolean option may be set to YES or NO. CHK_INSTALLED If set to YES, existance of .installed files is checked for. WL_DEVELOPER_ENABLED Controls whether developer workload is enabled. WL_DEVELOPER_EXTERN Controls whether external sources are used to build workload application. WL_GAME_ENABLED Controls whether game workload is enabled. WL_GAME_EXTERN Controls whether external sources are used to build workload application. WL_OFFICE_ENABLED Controls whether office workload is enabled. WL_OFFICE_EXTERN Controls whether external sources are used to build workload application. WL_PLAYER_ENABLED Controls whether player workload is enabled WL_PLAYER_EXTERN Controls whether external sources are used to build workload application. WL_READER_ENABLED Controls whether reader workload is enabled. WL_READER_EXTERN Controls whether external sources are used to build workload application. .STRING OPTIONS BLTK_HOME This option specifies the location of BLTK's home directory. This directory is used as starting directory for saving results and temporary files. SOFFICE_PROG This option specifies an application to be started when office workload is used. WL_OFFICE_WORKING_DIR The option specifies working directory for office workload. BLTK_PLAYER_PROG The option replaces default aplication to be used for playing audio/video BLTK_PLAYER_FILE The option replaces default source to be played. BLTK_READER_PROG The option replaces default aplication to be used for reading a document. BLTK_READER_FILE The option replaces default document to be read. SEE ALSO
bltk(1) AUTHOR
jskala@redhat.com BLTK.CONF 15 July 2009 BLTK.CONF(5)
All times are GMT -4. The time now is 12:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy