01-17-2008
How will i be able to schedule the builds for each user?? and could u tell me how exactly to automate the test process?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey ppl,
I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this? (0 Replies)
Discussion started by: laxmi
0 Replies
2. Shell Programming and Scripting
Hello all,
I'm trying to automate an if statement in my Perl script. The script opens an input file for reading, checks each line in the file for a particular substring, and if it finds the substring, writes it to an output file.
There are approximately 200 different input files. Each has... (3 Replies)
Discussion started by: Galt
3 Replies
3. Shell Programming and Scripting
Hi there,
I have to automate daily monitoring process and then the result of these process should be sent to a log file, then this log file should be mailed .
ps -ef | grep aa
In this atleast one process should run.
If the process is running it should mention Success in the log file... (3 Replies)
Discussion started by: NehaKrish
3 Replies
4. Shell Programming and Scripting
Hi Guru's,
I am trying to write a scripts that will automate my image provisoining process.
Scenario:
I have Linux Image Hosted on cloud which needs to be provisoned before it can be used. Currently we log onto the image through the putty on windows and connect to linux instance. I... (3 Replies)
Discussion started by: taqvia
3 Replies
5. Solaris
Hi,everybody
Please someone suggest me for test max process on system my system is Solaris 10/9 installed on HP DL380G6 . My point of project is test max process ,max user untill systemdown .however i have batch script telnet from pc to host about 500 window per pc ( i have pc 9 unit ... (2 Replies)
Discussion started by: infjustice
2 Replies
6. UNIX for Dummies Questions & Answers
Could any one tell me , how to start a thread here, i just searching for so long. sorry to post in irrelavent here
---------- Post updated at 08:19 AM ---------- Previous update was at 08:00 AM ----------
Hi,
I got a requirement to automate the process.
We have SLA files, there are... (1 Reply)
Discussion started by: afahmed
1 Replies
7. UNIX for Dummies Questions & Answers
What are the requirements to build an image in solaris ? Could you please some one explain this.. (1 Reply)
Discussion started by: ramagore85
1 Replies
8. Shell Programming and Scripting
Hi
i had written one script,it sends email from terminal and mine script is as:
#!/bin/bash
SUBJECT="linux mail send attachment example"
BODY_FILE="/home/sreenivasa/Desktop/Testing.txt"
#ATTACHMENT_FILE="/home/sreenivasa/Desktop/Dataset.zip"... (23 Replies)
Discussion started by: rajnikant
23 Replies
9. Shell Programming and Scripting
Hello,
I'm running Stockfish chess engine ( Home - Stockfish - Open Source Chess Engine ) CLI on Linux in interactive mode which is working fine.
root@ubuntu1950x:~# ./stockfish
Stockfish 080218 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
setoption name Debug Log File... (2 Replies)
Discussion started by: prvnrk
2 Replies
10. Red Hat
Hi Folks,
I've recently upgraded (RHEL 6.5 to 7.5) a couple of servers and have noticed a peculiarity during the GUI build of the boxes.
This can be best explained as follows;
There were four Oracle ASM disks on each of these servers, these were selected in the GUI for reformat as XFS file... (2 Replies)
Discussion started by: gull04
2 Replies
LEARN ABOUT NETBSD
setpriority
GETPRIORITY(2) BSD System Calls Manual GETPRIORITY(2)
NAME
getpriority, setpriority -- get/set program scheduling priority
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/resource.h>
int
getpriority(int which, id_t who);
int
setpriority(int which, id_t who, int prio);
DESCRIPTION
The scheduling priority of the process, process group, or user, as indicated by which and who is obtained with the getpriority() call and set
with the setpriority() call. which is one of PRIO_PROCESS, PRIO_PGRP, or PRIO_USER, and who is interpreted relative to which (a process
identifier for PRIO_PROCESS, process group identifier for PRIO_PGRP, and a user ID for PRIO_USER). A zero value of who denotes the current
process, process group, or user. prio is a value in the range -20 to 20. The default priority is 0; lower priorities cause more favorable
scheduling. A value of 19 or 20 will schedule a process only when nothing at priority <= 0 is runnable.
The getpriority() call returns the highest priority (lowest numerical value) enjoyed by any of the specified processes. The setpriority()
call sets the priorities of all of the specified processes to the specified value. Only the super-user may lower priorities.
RETURN VALUES
Since getpriority() can legitimately return the value -1, it is necessary to clear the external variable errno prior to the call, then check
it afterward to determine if a -1 is an error or a legitimate value. The setpriority() call returns 0 if there is no error, or -1 if there
is.
ERRORS
getpriority() and setpriority() will fail if:
[ESRCH] No process was located using the which and who values specified.
[EINVAL] which was not one of PRIO_PROCESS, PRIO_PGRP, or PRIO_USER.
In addition to the errors indicated above, setpriority() will fail if:
[EPERM] A process was located, but neither its effective nor real user ID matched the effective user ID of the caller.
[EACCES] A non super-user attempted to lower a process priority.
SEE ALSO
nice(1), fork(2), renice(8)
HISTORY
The getpriority() function call appeared in 4.2BSD.
BSD
April 25, 2004 BSD