9 More Discussions You Might Find Interesting
1. Solaris
i booted into maintenance mode
boot -- -s
from the console
I got the
Root password for system maintenance (control-d to bypass)
I did control -d
and then logged in
it told me that I was booting into boot -s
but after I did a control -d and logged in
who -r shows
... (9 Replies)
Discussion started by: goya
9 Replies
2. Shell Programming and Scripting
Hi Guys
i wonder if anyone can help. i want to create a script that checks multiple servers for disk space availible, cpu usage for past 24 hours. as well as check if all the hardware components are still doing their jobs. i will be doing this in the tcsh, can anyone help? OS = Sun Solaris 5.10... (2 Replies)
Discussion started by: brian112
2 Replies
3. UNIX for Dummies Questions & Answers
hELLO PEOPLE I AM DETECTING IN THE MIRROR ON MY SPARC THAT IS A DISK ASKING FOR MAINTENANCE.
d0: Mirror
Submirror 0: d10
State: Needs maintenance
Submirror 1: d20
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel... (0 Replies)
Discussion started by: enkei17
0 Replies
4. SuSE
How are libraries created and maintained? I tried the following to add prog.o to an existing library
ar -r library.so prog.o
but the output is "File format not recognized", on the other hand
nm --print-armap library.so
does print a table of contents. (2 Replies)
Discussion started by: jgt
2 Replies
5. Solaris
I gurus of Solaris,
I need to do a Procedure concerning in the Maintenance of Solaris Server.
What are the parameters that I must be see Periodically in a Server.
For example the space I (df -h) must be each week.- In this server exist a Database aplication (Oracle), and log's that increase or... (4 Replies)
Discussion started by: andresguillen
4 Replies
6. AIX
Hello
I have a question.
I have several box with
$ oslevel -s
5300-06-01-0000
My questions are:
1.-How long I can keept my actual technology level (in time) before I updated to the next technology level?
My other question is If I have to update to the next technology level.
... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies
7. Solaris
Hi there,
It's my first time here. I have an hard drive need a maintenance.
here the result of metastat :
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
host2{11}: metastat
d1: RAID
State: Needs Maintenance
Invoke: metareplace d1 c2t2d0s1 <new device>
Interlace:... (3 Replies)
Discussion started by: Juterassee
3 Replies
8. UNIX for Dummies Questions & Answers
Hello All
Here I am using Sun V880 server which have discsuit pack of 8 discs with 2 sub mirrors each.
Everything was fine for the last 1 year. Now I am getting problem of taking backup of the server. After analysis what I got that each 2nd submirrors are in NEEDS MAINTENANCE status.
What... (5 Replies)
Discussion started by: ailnilanjan
5 Replies
9. UNIX for Advanced & Expert Users
How do I go about doing this??? Is there something to it other than cleaning up useless files?? if you have knowledge concerning this, please give your suggestions
also, is it possible or safe to compress an entire filesystem. how do you go about doing this??? any information is appreciated (7 Replies)
Discussion started by: IMPORTANT
7 Replies
LWP::RobotUA(3) User Contributed Perl Documentation LWP::RobotUA(3)
NAME
LWP::RobotUA - A class for Web Robots
SYNOPSIS
require LWP::RobotUA;
$ua = new LWP::RobotUA 'my-robot/0.1', 'me@foo.com';
$ua->delay(10); # be very nice, go slowly
...
# just use it just like a normal LWP::UserAgent
$res = $ua->request($req);
DESCRIPTION
This class implements a user agent that is suitable for robot applications. Robots should be nice to the servers they visit. They should
consult the /robots.txt file to ensure that they are welcomed and they should not make requests too frequently.
But, before you consider writing a robot take a look at <URL:http://info.webcrawler.com/mak/projects/robots/robots.html>.
When you use a LWP::RobotUA as your user agent, then you do not really have to think about these things yourself. Just send requests as
you do when you are using a normal LWP::UserAgent and this special agent will make sure you are nice.
METHODS
The LWP::RobotUA is a sub-class of LWP::UserAgent and implements the same methods. In addition the following methods are provided:
$ua = LWP::RobotUA->new($agent_name, $from, [$rules])
Your robot's name and the mail address of the human responsible for the robot (i.e. you) are required by the constructor.
Optionally it allows you to specify the WWW::RobotRules object to use.
$ua->delay([$minutes])
Set the minimum delay between requests to the same server. The default is 1 minute.
$ua->use_sleep([$boolean])
Get/set a value indicating whether the UA should sleep() if requests arrive too fast (before $ua->delay minutes has passed). The
default is TRUE. If this value is FALSE then an internal SERVICE_UNAVAILABLE response will be generated. It will have an Retry-After
header that indicates when it is OK to send another request to this server.
$ua->rules([$rules])
Set/get which WWW::RobotRules object to use.
$ua->no_visits($netloc)
Returns the number of documents fetched from this server host. Yes I know, this method should probably have been named num_visits() or
something like that. :-(
$ua->host_wait($netloc)
Returns the number of seconds (from now) you must wait before you can make a new request to this host.
$ua->as_string
Returns a string that describes the state of the UA. Mainly useful for debugging.
SEE ALSO
LWP::UserAgent, WWW::RobotRules
COPYRIGHT
Copyright 1996-2000 Gisle Aas.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
libwww-perl-5.65 2001-04-27 LWP::RobotUA(3)