Sponsored Content
Operating Systems BSD jobs -l | sed ... = nothing!? Post 302604588 by Corona688 on Monday 5th of March 2012 11:32:28 AM
Old 03-05-2012
Being file descriptors are not actually decimal numbers, there's no particular significance to "double-digit" file descriptors. Checking ash on my own system, it does in fact open FD 10 to go directly to /dev/tty... But then, my version of ash works fine with jobs | awk ... so isn't the same as yours anyway.

As already mentioned, jobs is a builtin, not an external command, so it may not obey redirections at all, just like the time builtin doesn't. Being not a real process at all means the redirections don't necessarily even get processed.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

jobs

I am running this script below as a cron job for user root. In fact I set this job early last week and expected it to delete archive logs older than 7 days, but doesn't work - just displays the echo messages and no error. Can somebody advise me the probable causes ?? DAY_AFTER=7; export... (1 Reply)
Discussion started by: vbaskar
1 Replies

2. Solaris

Cron Jobs

whats up, Have some questions about cron jobs, I am fairly new to the unix os. My cronjob sends all output to my mail, does anyone know how to redirect output to come out on the screen??? Thanks...... (6 Replies)
Discussion started by: lewisoco
6 Replies

3. Solaris

Cron Jobs

I'm trying to run cron jobs to start any inhibited processes after a system reboot. I can schedule th cron, but i'm confused as to how to incorporated the reboot, since reboot is scheduled at different times, once every month. How can I write this to start every 15 min after after a reboot ... (2 Replies)
Discussion started by: Remi
2 Replies

4. Shell Programming and Scripting

background jobs exit status and limit the number of jobs to run

i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help. $cat run_job.ksh #!/usr/bin/ksh #################################### typeset -u SCHEMA_NAME=$1 ... (1 Reply)
Discussion started by: GrepMe
1 Replies

5. Solaris

at jobs

how to schedule a reboot using the at jobs ? (3 Replies)
Discussion started by: priky
3 Replies

6. Shell Programming and Scripting

at jobs.

Please suggest how can i modify or change the at jobs ? (4 Replies)
Discussion started by: anupdas
4 Replies

7. Solaris

Cron jobs and at jobs

There are two jobs in Solaris , Cron and at jobs.. I know how to disable or enable cron jobs. How can I enable at jobs and disable it. Kindly help. Rj (2 Replies)
Discussion started by: jegaraman
2 Replies

8. Shell Programming and Scripting

waiting on jobs in bash, allowing limited parallel jobs at one time, and then for all to finish

Hello, I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies

9. Shell Programming and Scripting

Shell script to run multiple jobs and it's dependent jobs

I have multiple jobs and each job dependent on other job. Each Job generates a log and If job completed successfully log file end's with JOB ENDED SUCCESSFULLY message and if it failed then it will end with JOB ENDED with FAILURE. I need an help how to start. Attaching the JOB dependency... (3 Replies)
Discussion started by: santoshkumarkal
3 Replies
faxq(1) 						       mgetty+sendfax manual							   faxq(1)

NAME
faxq - display fax jobs queued by faxspool(1) SYNOPSIS
faxq [<command>] [-osa] [-v] [-r] [-P<job><prio>] DESCRIPTION
Display the fax queue set up by faxspool(1). faxq looks for all the jobs queued by faxspool(1) to /var/spool/fax/outgoing/*. For each job in the queue, faxq displays some status infor- mations about it. If no options are specified, one line per queued fax job is printed, displaying the job number, sender, number of pages and target fax number. COMMANDS
faxq stop stops the fax queue processing by creating the file /var/spool/fax/outgoing/stop. This command works only if you have write access to the spool directory. Depending on local setup, this means ``root only'' or ``fax administrator group''. If you don't have write access, an error message is printed. faxq start re-starts a previously stopped fax queue, by removing the ``stop'' file. As for faxq stop this only works if you have write access. OPTIONS
-v Tells faxq to print a more verbose report for each job (multiple lines). -o Show old jobs, already sent but still in the queue directory, too. -s Show suspended jobs (stopped because of too many fatal errors during sending). You can restart those jobs with faxq -r -a Show all jobs (active, old, suspended). -r Restart suspended jobs. Every suspended job in the queue (that you have write permissions for) will be requeued. Use faxrm to delete jobs that you do not want to be sent! -P <job> <prio> Change the priority of fax job <job> to <prio>. Example: "faxq -P F000247 3". BUGS
faxq doesn't handle time scheduling yet. faxq -P is currently broken (needs re-implementing with faxq-helper). SEE ALSO
faxrunq(1), faxspool(1), faxrm(1), faxqueue(5) AUTHOR
faxq is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>. greenie 27 Oct 93 faxq(1)
All times are GMT -4. The time now is 05:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy