09-11-2012
You need a machine you can play with... If you dont have that at work, try to find one second hand... I suppose an old D class would be dead cheap... because there is differences between daily job, and installing or trying to reboot a server that crashed etc...
This User Gave Thanks to vbe For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all
I am trying to document my entire system (hardware/software/admin) Is there a template I could use for the purpose. This document will be the used by all System admins/ Management the company when they want to find out anyting about any of the servers we manage.
If there is no such... (6 Replies)
Discussion started by: skotapal
6 Replies
2. HP-UX
Does anyone has a CBT diskett on HPUX admin that you want to donate or sell for $50. I"m a newby admin in need of assistant... thanks..all :( (0 Replies)
Discussion started by: hpux2006
0 Replies
3. Shell Programming and Scripting
Am trying to learn a scripting language to automate mundane system admin tasks. Being a Novice, Just trying to understand, which language would be easier to learn and one for all types.
i.e Perl or Shell scripting. Which of these would be good for a system admin, Database admin ??
pls. post... (2 Replies)
Discussion started by: Crazy_murli
2 Replies
4. AIX
Hi everyone, im new to AIX, where can I find some free beginner AIX System admin guide which is similar to
AIX Basic Operations V5
http://www-03.ibm.com/certify/tests/obj190.shtml (9 Replies)
Discussion started by: ibmer414
9 Replies
5. AIX
Hello Everyone...I am new to this forum and before asking i already see links for books and videos...I would like to know the tasks for L2 and L3 AIX System Admin.
edit by bakunin: You shouldn't hijack others threads for your own questions. If you have a genuine question to ask you're entitled... (3 Replies)
Discussion started by: Allhappies
3 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Create a group id with your last name. Create 2 user IDs using your last name and the numbers 1 and 2. For each... (3 Replies)
Discussion started by: Jagst3r21
3 Replies
7. Red Hat
Hi,
I am looking for perfect document.which is covered all the admin role with examples.....
--> Please say that "search in google"......
Can you please help on this....
Thanks & Regards,
Mani (3 Replies)
Discussion started by: Mani_apr08
3 Replies
8. Linux
Hi,
I am already working as Linux admin for last 5 years. Now I want to do something more. So wanted to ask you guys what would be better. I have 2 interests for making my future
1. Linux kernel development
2. Linux system admin + storage
Welcome your thoughts!!! (5 Replies)
Discussion started by: prashant2507198
5 Replies
9. Red Hat
hello, when the times comes where do I schedule for the linux system admin exam? I have taken exams before through vue or prometric I did not see rh system admin exam on either site? any feedback would be helpful such as cost? how many test is it one or two? is the comptia linux+ just as recognized... (3 Replies)
Discussion started by: arcolinux
3 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)