Fedora :: Jobs Command Not Working In F14 ?

Apr 24, 2011

I tried using the jobs command in bash in F14 but nothing happens.

Code:
[root@Fedora ~]# jobs -l
[root@Fedora ~]#
Code:
[root@Fedora ~]# which jobs

[Code].....

If jobspec is given, output is restricted to information about that job. The return status is 0 unless an invalid option is encountered or an invalid jobspec is supplied.

If the -x option is supplied, jobs replaces any jobspec found in command or args with the corresponding process group ID, and executes command passing it args, returning its exit status.

Is the jobs command dropped for the ps command instead ?

View 3 Replies


ADVERTISEMENT

General :: Command Running Multiple Jobs On Servers

Jul 26, 2010

How to submit multiple jobs onto a Linux server. The only way I know to submit and run a job on a server is using qsub, and verifying the status of the job using qstat. I usually run my scripts using qsub -cwd so that I can run it on my own directory (instead of having the results sent to a scratch folder).

1. However, assuming qsub/msub are not available, is there another way to do it? What commands can I use instead?
2. I know that some jobs can run in the background, is that an alternative? How do I do it? And would I still be able to check the status of the job or delete it?

View 2 Replies View Related

Programming :: Using `jobs` In A Script Not Working

Aug 30, 2010

why when I use "jobs -l >> tmp" in a script file it does nothing, and when typing it at the prompt it creates the tmp file I expect it to...?

View 9 Replies View Related

General :: Install Jobs Command And Its Manual On Ubuntu 10.10 Notebook

Apr 13, 2011

I just found out that jobs -l and man jobs produce no output in my terminal. how could I fix that? How could I install jobs command and its manual on my ubuntu 10.10 ?

View 9 Replies View Related

Software :: Pass Print Jobs To A Lexmark Printer With The Lp -o Landscape Command?

Sep 30, 2009

We are running RHEL 5.1 on the 2.6.18.53 kernel. We are attempting to pass print jobs to a Lexmark printer with the lp -o landscape command. The print jobs continue to print "portrait". Is anyone aware of this issue and is there a work-around to get these print jobs to print in landscape format?

View 5 Replies View Related

Ubuntu Servers :: Cron Jobs At Reboot Not Working

Jul 13, 2010

Have a headless server running Lucid 64 bit. Everything is working great except for a couple of Cron jos I'm trying to have run at boot.

My user crontab looks like this:
# m h dom mon dow command
01 * * * * /home/ceallred/Scripts/SambaBkup.sh
@reboot /usr/bin/SpiderOak --headless &The SambaBkup script works like clockwork...

The SpiderOak job doesn't start. It works if I type the command in manually.
syslog only shows:Jul 13 22:45:33 RavenWing cron[1010]: (CRON) INFO (pidfile fd = 3)
Jul 13 22:45:33 RavenWing cron[1022]: (CRON) STARTUP (fork ok)
Jul 13 22:45:33 RavenWing cron[1022]: (CRON) INFO (Running @reboot jobs)
Jul 13 22:45:33 RavenWing CRON[1048]: (ceallred) CMD (/usr/bin/SpiderOak --headless &)Yet ps -A doesn't show a running SpiderOak process. It shows after starting manually.

View 7 Replies View Related

Red Hat / Fedora :: Where To Exactly Enter Cron Jobs

Nov 15, 2010

I have a Fedora 11 box and I am confused about cron, where exactly do I enter the cron jobs? For example, I have a job that needs to run every half hour.

View 8 Replies View Related

Fedora :: Storing And Reviewing Printed Jobs?

Oct 12, 2010

I need to review what people are using the printers for at work.I was wondering how I can do this under fedora. I basically need to store a copy of the printed jobs and view them afterwards..

View 5 Replies View Related

Fedora :: Sleep But Still Listen For Print Jobs?

Dec 3, 2010

So I have Fedora 14 installed on a laptop directly connected to my printer. I really never use the laptop except to send print jobs to it wirelessly. I was wondering if there was a way to make it suspend or sleep, or even idle everything down so it uses less power, but still listen for print jobs?

View 2 Replies View Related

Fedora :: Ls Command Not Working?

Dec 3, 2009

How can i install the ls command again?

View 6 Replies View Related

Fedora Servers :: Condor - Slot Specific Arguments To Jobs?

Mar 28, 2010

We're using condor at work to have cluster processing of java jobs. I know how to tell condor to require that a given job should be run on a particular slot. You can put on the Requirements string in the submit file a "Name" value(s) -->

Example:
Requirements = ".. Name == slot1@host*.domain.net || Name == slot2@host*.domain.net"

Which would tell condor to only run that job on slots 1 or 2. But what I need next is some way to have condor modify the arguments string depending on the slot it used. Our condor blades have 8 slots per machine but only two CUDA Tesla cards per host, so I want to dedicate slots 1 and 2 for using the Teslas and slots 3-8 for not using CUDA.

My java code has a java '-D' property so I can tell it to use CUDA or not, but then I
have to have a way to configure condor to append that to the job arguments if
the slot is 1 or 2 or not append it otherwise; So I want this arguments list passed for slot1 or 2

"Main.start -Djava.library.path=/usr/local/cuda/lib64 -Dcuda"
and this for slots 3-8:
"Main.start -Djava.library.path=/usr/local/cuda/lib64"

I don't want to just make the developers hack their submit files to put the
-Dcuda on the arguments line in combo with their adding the Name entry for
slot1 | slot2 because that seems error prone to me.
I want condor itself to add the JVM -Dcuda argument when it's slot 1 or 2 to reduce errors because these jobs take a long time and a mistake wastes lots of time.

View 1 Replies View Related

Fedora Security :: At Command Not Working?

Sep 25, 2009

I get the following error in the logs when i run 'at now -f task' as root. atd[4737]: Failure setting user credentialsI am trying to auto shutdown the PC but, it fails.I am also pasting the /etc/pam.d/atd config file which

# The PAM configuration file for the at daemon
#
#

[code]...

View 2 Replies View Related

Fedora :: Mailx Command Isn't Working?

Jan 28, 2010

I am trying to email some log files from my RHEL 5.3 server to my Outlook corporate account and nothing happens. Here is the command I use:[root@server1]# mailx -s "server info" my_id@my_corporate_domain < server_infoThe file server_info does exist and is a small log file. I checked for sendmail and seems to be running OK as follows:

[root@server1]# ps -ef | grep -i mail
root 13954 1 0 2009 ? 00:00:00 sendmail: accepting connections
smmsp 13962 1 0 2009 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

I'm not at all familiar with mail clients or mail system in Linux. Is there anything missing? I don't have to use mailx, I could use an alternative. Just please let me know how to sent a simple mail from this server to my corporate account using any tools possible (and maybe how to set it up)

View 1 Replies View Related

Red Hat / Fedora :: Cron Jobs - Optimize Database Then Enable Apache Server

Sep 15, 2010

My server... its CentOS (redhat alike). I need to make the server disable apache server then run mysql command to optimize the databases then re-enable apache server in a specific time daily. Is it possible?

View 4 Replies View Related

Red Hat / Fedora :: Running Mulitple Command Through Ssh Not Working?

Aug 19, 2010

I am trying to execute 3 commands stacked together on a remote server. The purpose of the commands are to get the oldest path name, then the filename of the oldest file in that path, and then the date/time of that file.

The command I am running is: stat -c %y $( find -L $( find -L /home/data -depth -maxdepth 6 -mindepth 6 -type d | sort -f | head -1 ) | grep txt | sort -f | head -1 ) This command works fine if I execute it on the command line of the server. However, when I try to use it in a bash script and execute it from one server on the other server using ssh, the command does not work.

Example:

oldest_file=`ssh -l root $IP "stat -c %y $( find -L $( find -L /home/data -depth -maxdepth 6 -mindepth 6 -type d | sort -f | head -1 ) | grep txt | sort -f | head -1 )"`

I don't know why the command will execute if I run it straight on the server but not through ssh. I broke it down to just the 2 Find commands and saw with verbose turned on that the path from the first (innermost) Find is not being passed to the second Find so it is not returning a filename which inevitably makes the Stat command fail.

Also, if there is an easier way to do what I am trying to accomplish without stacking these 3 commands like this, then I welcome those suggestions as well since I am a Linux newbie.

View 4 Replies View Related

Red Hat / Fedora :: LP Command - Print Landscape - Lp -ddestination -olandscape Isn't Working

Dec 3, 2010

I want to print Landscape and I would normally use Code: lp -ddestination -olandscape However this isn't working, it could be another problem (I am passing to a windows print spooler) but I would like to know if I have got the command right.

View 1 Replies View Related

Fedora :: Defined Aliases In File Not Working - No Command Found

Apr 15, 2011

Defining tcsh aliases through a .aliases file has worked perfectly for me for years and years using cygwin and older versions of mandriva. I am encountering very annoying and mysterious problems when attempting to do the same thing with a .aliases file in a fedora 64-bit VM. Strangely, if I define aliases in the file, they won't work, but if I do so on the command line, then they will.

Here's a simple example: Suppose I define an alias for "ls" in the file:
alias ls '/bin/ls'
Then source the file. This happens:
me: ls : Command not found.
me: alias ls
/bin/ls
me: /bin/ls
file1 file2 file3 etc.
me: unalias ls
me: ls
file1 file2 file3 etc.
me: alias ls '/bin/ls'
me: ls
file1 file2 file3 etc.

A second example: if I place either of these lines in my .aliases file:
alias d '/bin/ls -alF !:1'
alias d '/bin/ls -alF !*'and source the alias file, this happens:/ me: d
Bad ! arg selector. However, if I define the alias on the command line:
/ me: alias d '/bin/ls -alF !*'then the alias behaves correctly:/ me: dtotal 376
drwxr-xr-x. 10 r r 4096 Apr 14 16:05 ./
drwxrwxr-x. 6 r r 4096 Feb 21 16:15 ../
drwxr-xr-x. 3 r r 4096 Apr 14 16:05 bin.v2/
-rwxr-xr-x. 1 r r 193872 Apr 14 15:35 bjam*
-rw-r--r--. 1 r r 52804 Apr 14 17:20 bjam.my.log
drwxr-xr-x. 77 r r 4096 Nov 17 09:49 boost/
-rw-r--r--. 1 r r 989 Nov 17 04:51 boost.css

View 2 Replies View Related

Ubuntu Networking :: Wireless Suddenly Stopped Working AND Rfkill Command Not Working

Jul 13, 2011

When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.

Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.

I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.

View 1 Replies View Related

Software :: Command Line Cd Command Not Working Right

May 4, 2010

Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample

Code:

yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.

View 6 Replies View Related

Fedora :: No Output From Cron Jobs In /etc/cron.daily

Jan 29, 2011

I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).

The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.

The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.

I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)

View 3 Replies View Related

General :: Apache Command And Terminal / Command With Apache Through Web Browser And It Is Not Working?

Aug 18, 2009

I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?

NOTE: apache have the privileges to execute the command

View 7 Replies View Related

Ubuntu :: Cron Jobs Don't Run?

May 22, 2011

I have this in my crontab (along with another line before it):

Code:
* * * * * /bin/echo "Does this work?" > ~/test
...and the file doesn't show up. I have a blank line after that one in the crontab. I have no /etc/cron.allow or /etc/cron.deny files. I'm running Ubuntu 11.04. /var/log/syslog shows "BEGIN EDIT" and "END EDIT" etc. when I run crontab -e, but doesn't say anything about trying to run commands. Anything I might be missing?

View 9 Replies View Related

Software :: Rc.d Jobs Not Starting

Feb 4, 2010

I just reinstalled linux on one of my computers, and now it seems that any scripts in the rc.d folders don't run at boot. I have to go in manually and start them all after I can get to a terminal. I have webmin running on this computer, and no matter what I do, it always says that nothing is supposed to start on boot, even though the scripts are clearly in their respective rc.d folders. What can I do to fix this?

View 1 Replies View Related

Ubuntu :: Why Jobs Manpage Are Missing

Nov 30, 2010

why my jobs manpages are missing? I noticed that there is Ubuntu manpage entry. [URL] Also when I check on various Linux systems it takes me to BASH_BUILTINS(1). I also can't seem to find BASH_BUILTINS(1) on my system either.

View 5 Replies View Related

Ubuntu :: Set Cron Jobs Up For Programs

Jan 9, 2011

i need to know how to set cron jobs up for programs like eggdrop and psybnc

View 1 Replies View Related

Ubuntu :: Kill A Process - Jobs - Pd

Mar 28, 2011

I am learning terminal and i want to kill a process. There are 2 ways to do it i ve heard. 1st way is to type following in terminal:

[Code].....

View 2 Replies View Related

Ubuntu :: Cron Jobs Not Running?

Jun 2, 2011

I have a cron job that executes fine in opensuse 11.4. It is located in

/etc/cron.d/publish.cron:
jpablo /srv/django-apps/smcommand/scripts/publish.sh

It is correct, I want it to execute every minute. Now, I copied the same script to ubuntu maverick, and it doesn't run. Perhaps there's some ubuntu peculiarity that I'm not aware of?

View 5 Replies View Related

General :: Jobs Or Sps Does Not Work In Redhat 5.0

Jan 16, 2010

I put a backgroud job in redhat5 as nohup commad script & I do not see end thsi jon. now I want to bring to as foreground job. how to do this? some paper told me as jobs jobnumber. jobs and spa does not work
ps ua does not return a job number

View 1 Replies View Related

Software :: Cron Does Not Run Jobs In Debian 64?

Apr 6, 2011

Cron doesn't run jobs in Debian 64 (testing). It gives error
Code:
Apr 6 15:31:01 debian64 /USR/SBIN/CRON[5454]: (CRON)
Error (grandchild #5455 failed with exit status 1)
and does not run the script.

View 5 Replies View Related

Programming :: Run Parallel Jobs With Make -j4?

Nov 27, 2010

I use an application called redbutton-browser to access some of the things available on the redbutton digital tv channels. It compiles fine if I use a simple make but fails if I try to run parallel jobs with make -j4. I'd like some help altering the Makefile so that it does a few commands sequentially before it does the rest of the Makefile in parallel.

The relevant bit of the Makefile looks like this:

Code:
ISO13522-MHEG-5.c:xsd2c.c ISO13522-MHEG-5.xsd add_instance_vars.conf add_rtti.conf
make xsd2c
./xsd2c ISO13522-MHEG-5.xsd
./add_instance_vars ISO13522-MHEG-5.c ISO13522-MHEG-5.h
./add_rtti ISO13522-MHEG-5.c > rtti.h

[Code]....

View 7 Replies View Related







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