01-12-2015
When I did my software jobs skill class at HP we were using redhat for the class work. It seemed to work really good. Know I have a QNAP TS259 which is running some custom variant of Ubuntu. I use putty to access it and it works quite well.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Im new the the whole Unix OS. I would like a breif description of the whole concept. I have heard it is open source so anyone can get the source code? Is this correct. Also is linux, Unix, Redhat all the same program just different versions.
Also I have a 486 200 MHZ computer I was... (1 Reply)
Discussion started by: seanstog
1 Replies
2. UNIX for Dummies Questions & Answers
Ok here is my problem i do not know the command to load a driver for my network card in Ted hat linux 6.0 could sombody give me a hand. and if there is anyone that has a list of commands for red hat that would be great also (2 Replies)
Discussion started by: bbutler3295
2 Replies
3. UNIX for Dummies Questions & Answers
Hello guys, I got overzealous (I Think).
I got the book Linux Unleashed that comes with the Slackware 3.0 Version of Linux for $2.00.I also have Red Hat Linux 7.2 (No book, just the OS).What I wanted to know was,other than the bells and whistles of Red Hat is there any significant difference... (2 Replies)
Discussion started by: perrylx
2 Replies
4. UNIX for Dummies Questions & Answers
hi, can i have a unix like environment where i can do things like chmod, shell scripts and etc.. in redhat instead of the GUI that redhat ofters? (4 Replies)
Discussion started by: yls177
4 Replies
5. UNIX for Advanced & Expert Users
I just bought a new pc and my unix software is installed on my old computer. I want to take the hard disk outta my old pc and then install it on my new pc so my new pc has 2 hard drives.
now, after my pc new has 2 hard drives, one being unix the other being windows xp, i want to be able to... (7 Replies)
Discussion started by: TRUEST
7 Replies
6. UNIX for Dummies Questions & Answers
I have a PC running XP, and I have a PC that dual boots W2K and Red Hat Linux 7.3.
I have the two connected via crossover cable, and the two can access each other when both are running windows.
If I were to boot up Linux, can my XP PC telnet to the Linux PC? Any pointers or websites to... (3 Replies)
Discussion started by: lawadm1
3 Replies
7. Red Hat
Hi,
We are going to migrate our Dataware House system from HP Tru64 UNIX to Red Hat Linux 5.
There are more than 500 shell scripts which are written in ksh.
The schedule is very tight.
So, I want to learn whether there is a tool that can help us find the incompatible shell scripts in... (2 Replies)
Discussion started by: franksubramania
2 Replies
8. Red Hat
Hello Professionals,
We have high-end HP rack servers. We need to provide application fail-over for business continuity.
We have done benchmarking of the application on RHEL 5.2 on HP servers to estimate the hardware requirement so as to meet next 3-5 years business growth.
Presently we... (1 Reply)
Discussion started by: kgayyar
1 Replies
9. Shell Programming and Scripting
We are changing our OS from HP-Unix 11 to Linux Red Hat. We have few k- shell, c - shell and sql scripts which are currently running under HP-Unix 11. Will these scripts work on LINUX as it is? or we need to do any code changes?IS there anyone who have done this kind of migration before?Thanks for... (2 Replies)
Discussion started by: Phoenix2
2 Replies
10. Red Hat
I am not too familiar with linux, so please keep that in mind while reading this post. We have a few linux servers joined to the domain, and linux services for windows running. I have a user that can connect to one linux server, but not another.
I ran the cat /etc/passwrd and noticed the user... (0 Replies)
Discussion started by: dcatcha
0 Replies
LEARN ABOUT DEBIAN
theschwartz::worker
TheSchwartz::Worker(3pm) User Contributed Perl Documentation TheSchwartz::Worker(3pm)
NAME
TheSchwartz::Worker - superclass for defining task behavior
SYNOPSIS
package MyWorker;
use base qw( TheSchwartz::Worker );
sub work {
my $class = shift;
my TheSchwartz::Job $job = shift;
print "Workin' hard or hardly workin'? Hyuk!!
";
$job->completed();
}
package main;
my $client = TheSchwartz->new( databases => $DATABASE_INFO );
$client->can_do('MyWorker');
$client->work();
DESCRIPTION
TheSchwartz::Worker objects are the salt of the reliable job queuing earth. The behavior required to perform posted jobs are defined in
subclasses of TheSchwartz::Worker. These subclasses are named for the ability required of a "TheSchwartz" client to do the job, so that the
clients can dispatch automatically to the approprate worker routine.
Because jobs can be performed by any machine running code for capable worker classes, "TheSchwartz::Worker"s are generally stateless. All
mutable state is stored in the "TheSchwartz::Job" objects. This means all "TheSchwartz::Worker" methods are class methods, and
"TheSchwartz::Worker" classes are generally never instantiated.
SUBCLASSING
Define and customize how a job is performed by overriding these methods in your subclass:
"$class->work( $job )"
Performs the job that required ability $class. Override this method to define how to do the job you're defining.
Note that will need to call "$job->completed()" or "$job->failed()" as appropriate to indicate success or failure. See TheSchwartz::Job.
"$class->max_retries( $job )"
Returns the number of times workers should attempt the given job. After this many tries, the job is marked as completed with errors (that
is, a "TheSchwartz::ExitStatus" is recorded for it) and removed from the queue. By default, returns 0.
"$class->retry_delay( $num_failures )"
Returns the number of seconds after a failure workers should wait until reattempting a job that has already failed $num_failures times. By
default, returns 0.
"$class->keep_exit_status_for()"
Returns the number of seconds to allow a "TheSchwartz::ExitStatus" record for a job performed by this worker class to exist. By default,
returns 0.
"$class->grab_for()"
Returns the number of seconds workers of this class will claim a grabbed a job. That is, returns the length of the timeout after which
other workers will decide a worker that claimed a job has crashed or faulted without marking the job failed. Jobs that are marked as failed
by a worker are also marked for immediate retry after a delay indicated by "retry_delay()".
USAGE
"$class->grab_job( $client )"
Finds and claims a job for workers with ability $class, using "TheSchwartz" client $client. This job can then be passed to "work()" or
"work_safely()" to perform it.
"$class->work_safely( $job )"
Performs the job associated with the worker's class name. If an error is thrown while doing the job, the job is appropriately marked as
failed, unlike when calling "work()" directly.
perl v5.10.0 2008-03-02 TheSchwartz::Worker(3pm)