machine:
Hp Proliant DL145/Opterom 2.4GH
2*72 GBB SCSi hdd,
suse:
suse linux Enterprose server 8.0 for Amd 64
problem:
1. can not boot properly. have to use installation disk to boot it: enter installation and choose "boot from existing installation" and this is the only option. ( just... (1 Reply)
Been awhile since I've been playing with Linux and I'm just starting to gte back into the swing of things again :)
I'm setting up a OpenSUSE 11.0 computer at home (small network) and want to configure it as a server for Windows computers to be able to log onto the domain. From what I have read... (5 Replies)
Hi,
I need a command to find the Hardware Model in Solaris 8,9,10,11. The command which I am using right now is:
/usr/platform/`uname -i`/sbin/prtdiag
The problem is in this output:-
System Configuration: Sun Microsystems sun4u Netra T1 200 (UltraSPARC-IIe 500MHz)
Here I am... (1 Reply)
Please let me know if there is any way I can find out (either via command line or SMF) the following:
1.CPU model (eg. Pentium 4,Celeron)
2.CPU speed (eg. 1GHz)
for this I could get the output through psrinfo -v, but still is there any other way?
3.Hard disk model (eg. Seagate).
When I... (9 Replies)
Hello,
im trying to find the models of all the systems on my network. I am going to right a script to ssh in and execute the uname -i command. It works but doesnt tell me the model but rather something else. Is there a better command to get the model of your workstation?
Command using: uname... (2 Replies)
Following this thread :
https://www.unix.com/hp-ux/189023-solved-way-tell-printer-used-configured-print-queue.html
This is rwuerth's nice contribution!
I had a more complicated script written a long time ago to find out this information,
but after realizing due to VBE's post (thank you VBE)... (0 Replies)
Discussion started by: rwuerth
0 Replies
LEARN ABOUT DEBIAN
mojo::server::cgi
Mojo::Server::CGI(3pm) User Contributed Perl Documentation Mojo::Server::CGI(3pm)NAME
Mojo::Server::CGI - CGI server
SYNOPSIS
use Mojo::Server::CGI;
my $cgi = Mojo::Server::CGI->new;
$cgi->unsubscribe('request')
$cgi->on(request => sub {
my ($cgi, $tx) = @_;
# Request
my $method = $tx->req->method;
my $path = $tx->req->url->path;
# Response
$tx->res->code(200);
$tx->res->headers->content_type('text/plain');
$tx->res->body("$method request for $path!");
# Resume transaction
$tx->resume;
});
$cgi->run;
DESCRIPTION
Mojo::Server::CGI is a simple and portable implementation of RFC 3875.
See Mojolicious::Guides::Cookbook for more.
EVENTS
Mojo::Server::CGI inherits all events from Mojo::Server.
ATTRIBUTES
Mojo::Server::CGI inherits all attributes from Mojo::Server and implements the following new ones.
"nph"
my $nph = $cgi->nph;
$cgi = $cgi->nph(1);
Activate non parsed header mode.
METHODS
Mojo::Server::CGI inherits all methods from Mojo::Server and implements the following new ones.
"run"
$cgi->run;
Run CGI.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Server::CGI(3pm)