Sponsored Content
Full Discussion: scheduling a process
Top Forums Programming scheduling a process Post 47044 by a25khan on Sunday 1st of February 2004 11:28:46 PM
Old 02-02-2004
perderabo
for this program i had a loop:
if(x);
{
it='F'; stop = 'Z';
}
write(1,&it,1);
write(1,&stop,1);

the output of the program was:
abcdeFZFGHIJKLMNOPQRSTUVWXYZFZFGHIJKLMNOPQRSTUVWXYZ

i removed the ";" from the if(x); statement and this is my output when i run the program

abcdefzfghijklmnopqrstuvwxyzFZFGHIJKLMNOPQRSTUVWXYZ

as you said that it just kills some time, so i guess it shouldn't produce different output. can u comment on the new answer!

u also said that "You won't get the same results each time you run the program". but my results do not alter if ran with the same code.
i know i m jus missing one link here, can u help me figure that out
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

regarding the scheduling of the process

Hello, I would like to schedule a command at a specific time on my system.I know that theres a file named at.alow and at.deny in my system. I can find the at.deny file but not an at.allow file . Is there anyway out or i have to go and talk to the system administrator itself , or any other way of... (1 Reply)
Discussion started by: prashantuc
1 Replies

2. UNIX for Dummies Questions & Answers

scheduling

i have tried to schedule my process at a certain time using the at command : the error says bad time specification can somebody help me i used at 2300 job thanks (2 Replies)
Discussion started by: prashantuc
2 Replies

3. UNIX for Advanced & Expert Users

Scheduling Policy Of Process

Hello How to know the scheduling policy of the process in HP-UX. (1 Reply)
Discussion started by: manjunath
1 Replies

4. Shell Programming and Scripting

job/process scheduling or control

Hi forum, I have a problem concerning job or process scheduling and control. I have to run 24 jobs (could be more sometimes less) of the same programme with different parameters. The machine this code is running on is an 8-core machine, so I was thinking that running all the processes at once... (0 Replies)
Discussion started by: deiphon
0 Replies

5. AIX

Adjust disk scheduling priority for a process?

Hi all! Some dumb administrator run the weekly backup "by hand" on our AIX 5.3 server, which we use to deploy Websphere applications, during work hours. Using the server while the backup is taking place is almost imposible. Both the disks are working at 100% and it's almost unusable. Asking the... (2 Replies)
Discussion started by: shandrio
2 Replies

6. Shell Programming and Scripting

Crontab scheduling

Hi all, My OS is Solaris 10. I want to schedule a job which i need to run between morining 6 to eve 6 once for every 2 hours. This is what i did. 0 6-18 * * 1-5 /monitor.sh It runs for every hour how to make it for every two hours ...... Thanks, Firestar. (1 Reply)
Discussion started by: firestar
1 Replies

7. UNIX for Dummies Questions & Answers

Process Scheduling where to start

Hello, i'm absolutely new to the whole Operating Systems thing. I am pretty much level 0. My assignment is to "simulate the execution of a stream of processes by a computer system, one CPU, many terminals 12 disk drives, 30 public mailboxes. The professor runs a series of inputs which is a... (1 Reply)
Discussion started by: JaneSkylar
1 Replies

8. Shell Programming and Scripting

Scheduling scheduling !!!

Hi, i have 10 sh scripts. All are running in parallel using cron tab and each script gives "success" flag files once the execution is completed. and, now i have 11th script which should look for "success" flag from those 10 sh scripts. once all the 10 flag files found, 11 th script has to do... (9 Replies)
Discussion started by: nago123
9 Replies

9. UNIX for Dummies Questions & Answers

Need help regarding cronjob scheduling

Hello All, I have three requirements to schedule three shell scripts in crontab. Could you please help me in this: 1) To schedule a shell script every 5mins interval every day between 10PM to 10:30PM 2) To schedule a shell script every 10min interval every day between 9AM to 10AM. 3) To... (6 Replies)
Discussion started by: abhi_123
6 Replies

10. Shell Programming and Scripting

Process Scheduling Information Extraction

I want to extract the process having highest utilization on each processor core and then output its information (PID etc.) to a file. How can I do it by using either top or ps command? Thanks. (1 Reply)
Discussion started by: Vaibhavs1985
1 Replies
streamer(1)						      General Commands Manual						       streamer(1)

NAME
streamer - record audio and/or video SYNOPSIS
streamer [ options ] DESCRIPTION
streamer reads audio and/or video data from /dev/video0 and /dev/dsp and writes the data to the disk. Various output formats are sup- ported. Start streamer with '-h' for a list of options and supported output formats. streamer will use the file extention of the output file name to figure which format to use. You need the -f/-F options only if the exten- tion allows more than one format. If you get the "neither audio nor video format specified/found" message and don't know why, you can enable the debug output (-d switch) to see what is going on. You can safely stop the recording at any time with Ctrl+C. streamer will catch the signal and stop recording correctly (i.e. write movie file headers) before exiting. EXAMPLES
streamer -o foobar.jpeg write a single jpeg file. streamer -o quicktime.mov -f yuv2 -F stereo -r 12 -t 0:10 record a short quicktime movie. SEE ALSO
xawtv(1), v4lctl(1) AUTHOR
Gerd Knorr <kraxel@bytesex.org> COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. streamer(1)
All times are GMT -4. The time now is 10:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy