Sponsored Content
Full Discussion: Can not find Machine SN
Operating Systems Solaris Can not find Machine SN Post 302994144 by jlliagre on Sunday 19th of March 2017 07:20:17 PM
Old 03-19-2017
I suspect sysinfo(SI_HW_SERIAL) returned "unknown".
In such case, the SN is on a sticker on the chassis and can be read from the ilom:
Find the Server Serial Number - SPARC T4-2 Server HTML Document Collection
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find which machine ...

Hi friend, pls let me know .. 1)How to fine which UNIX machine Ex . whether it is 32 bit processor OR 64 bit processor .. 2) HP-ux is machine or Architectural ? pls replay as soon as possible .. Thanks.. (3 Replies)
Discussion started by: premnathk
3 Replies

2. Programming

trying to find number of caches on a machine

I am trying to find the number of caches on a machine programatically. #include <stdio.h> #include <malloc.h> int main(void) { int *ptr,*ptr1,i,j; j=0; i=1; printf("Changing allocation with brk()\n"); while(1) { for(j=0;j<i;j++) { ptr =... (1 Reply)
Discussion started by: jacques83
1 Replies

3. Shell Programming and Scripting

How to Find JRE installed in linux machine..?

Hi all, Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue... Thanks (3 Replies)
Discussion started by: XivaX
3 Replies

4. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

5. UNIX for Advanced & Expert Users

how to find out if a port is available on a remote machine?

hi, I can ping into another unix machine, but I cannot seem to access a certain application. I think it might be because I am now allowed to connect to the port (because of firewall configuration). How can I find out if I have access to a port on another machine? thanks (2 Replies)
Discussion started by: JamesByars
2 Replies

6. AIX

How to Find if AIX machine is LPar or not

Hi, I want to know if there is any command which will tell me if an AIX machine is a LPar or not. I am using "lparstat -i" but it does not work on all AIX machines. Is there any generic command by whose output I will come to know if it is an LPar or not? Please help. Thanks, Vineet (3 Replies)
Discussion started by: vineetd
3 Replies

7. UNIX for Dummies Questions & Answers

How can I find one file in other machine?

Hi all, I logged in one machine. I want to find one file in other machine. However, I don't know exactly which and where the machine is. I used nmap command to search all available hosts in this network range. I got two available machines through this action. But I still can't find the file I want... (8 Replies)
Discussion started by: w062611
8 Replies

8. AIX

find nim server of a machine

Hi, i would like to know how can i find , in a client machine , the nim server. the nim server that this machine have , if the machine have it Thanks :confused: (1 Reply)
Discussion started by: prpkrk
1 Replies

9. Windows & DOS: Issues & Discussions

find wwn in windows machine ?

Hi guys .. How to can I know the HBA WWN address in the windows machine ? Pls advice with command ... (1 Reply)
Discussion started by: roooooot
1 Replies
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)
All times are GMT -4. The time now is 10:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy