Sorry Boss its not there on Linux...I feel that they have provided a
variant of
sysinfo as
hostname
sysconf (3) - Get configuration information at runtime
sysfs (2) - get file system type information
sysinfo (2) - returns information on overall system statistics
If you could just checkout these ones as I am in office and do not have
adm.
perm. on this office machine
damn it.
Just see whether above commands work on your comp.
Well I am giving you the output of sysinfo command of solaris :
If you can tell me how the above commands output look like then please
tell
me....Office Office Office
-gaurav.
Oberoi>sysinfo
General Information
Host Name is Oberoi
Host Address(es) is 167.215.105.135
Host ID is 8b89150f
Serial Number is 2135970655
Manufacturer is Sun (Sun Microsystems)
System Model is Ultra 250
Main Memory is 2.0 GB
Virtual Memory is 3.2 GB
ROM Version is OBP 3.16.1 1999/04/19 07:55
Number of CPUs is 2
CPU Type is sparc
App Architecture is sparc
Kernel Architecture is sun4u
OS Name is SunOS
OS Version is 5.6
Kernel Version is SunOS Release 5.6 Version Generic_105181-15
[UNIX(R) Sy
stem V Release 4.0]
Boot Time is Tue Jan 25 19:24:17 2000
Kernel Information
Maximum number of processes for system is 16394
Maximum number of processes per user is 16389
Maximum number of users (for system tables) is 1024
Maximum number of BSD (/dev/ptyXX) pty's is 48
Maximum number of System V (/dev/pts/*) pty's is 1024
Size of the virtual address cache is 16384
Size of the callout table is 506
Size of the inode table is 69992
Size of the directory name lookup cache is 69992
Size of the quotas table is 26634
STREAMS: Maximum number of pushes allowed is 9
STREAMS: Maximum message size is 65536
STREAMS: Maximum size of ctl part of message is 1024
Maximum global priority in sys class is 6488124
Has UFS driver is TRUE
Has NFS driver is TRUE
Has LOFS driver is TRUE
Has TMPFS driver is TRUE
Has SD driver is TRUE
Has FD driver is TRUE
Has NFSSERVER is TRUE
Has IPCSEMAPHORE is TRUE
SysConf Information
Max combined size of argv[] and envp[] is 1048320
Max processes allowed to any UID is 16389
Clock ticks per second is 100
Max simultaneous groups per user is 16
Max open files per process is 64
System memory page size is 8192
Job control supported is TRUE
Savid ids (seteuid()) supported is TRUE
Version of POSIX.1 standard supported is 199506
Version of the X/Open standard supported is 3
Max log name is 8
Max password length is 8
Number of processors (CPUs) configured is 2
Number of processors (CPUs) online is 2
Total number of pages of physical memory is 262144
Number of pages of physical memory not currently in use is 8133
Max number of I/O operations in single list I/O call is 256
Max number of timer expiration overruns is 2147483647
Max number of open message queue descriptors per process is 32
Max number of message priorities supported is 32
Max number of realtime signals is 8
Max number of semaphores per process is 2147483647
Max value a semaphore may have is 2147483647
Max number of queued signals per process is 32
Max number of timers per process is 32
Supports asyncronous I/O is TRUE
Supports File Synchronization is TRUE
Supports memory mapped files is TRUE
Supports process memory locking is TRUE
Supports range memory locking is TRUE
Supports memory protection is TRUE
Supports message passing is TRUE
Supports process scheduling is TRUE
Supports realtime signals is TRUE
Supports semaphores is TRUE
Supports shared memory objects is TRUE
Supports syncronized I/O is TRUE
Supports timers is TRUE
Device Information
SUNW,Ultra-250 is a "SUNW,501-5440"
openprom is a "Open Boot PROM" device
options is a "PROM Settings"
aliases is a "PROM Device Aliases"
pci108e,80000 is a "Psycho PCI" system bus
ebus0 is a "OnBoard E Bus"
auxio is a "Auxiliary I/O"
se0 is a Siemens 82532 ESCC serial device
se1 is a Siemens 82532 ESCC serial device
su0 is a Serial U communications chip serial device
su1 is a Serial U communications chip serial device
ecpp is a "IEEE 1284 ECP, Nibble, and Centronics compatible"
paralle
l port
eeprom is a "EEPROM" device
flashprom is a "Flash PROM"
hme0 is a "Sun Fast Ethernet" 10/100 Mb/sec Ethernet network
interface
pci108e,80001 is a "Psycho PCI" system bus
cpu0 is a "400 MHz SUNW,UltraSPARC-II" CPU
cpu1 is a "400 MHz SUNW,UltraSPARC-II" CPU
pci1000,f0 is a "CCS compatible" SCSI
c0t0d0 (sd0) is a "IBM DNES30917SUN9.0G" 8.4 GB disk drive
c0t6d0 (sd6) is a disk drive
c0t8d0 (sd7) is a "IBM DNES30917SUN9.0G" 8.4 GB disk drive
pci1000,f1
rmt/0 (st12) is a "Quantum DLT4000 " SCSI tape drive
Ray Olszewski wrote:
> At 08:39 AM 2/8/00 +0530, Gaurav wrote:
> >In Solaris you can do
> >>sysinfo
> >which will print all the info regarding the and will have lines as follows :
> >It should be on linux also :
> >
> >Host Address(es) is 192.135.241.27
> >Host ID is 80b1f82f
>
> "sysinfo" isn't on any of several Linux hosts (all Debian) I just checked.
> Do other distributions provide it?
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski -- Han Solo
> Palo Alto, CA [EMAIL PROTECTED]
> ----------------------------------------------------------------
--
|-------------------------------------------------|
| GAURAV |
|-------------------------------------------------|
| Please feel free to |
| mailto:[EMAIL PROTECTED] (Office Email-id) |
| or (at Other Email-ids) |
| mailto:[EMAIL PROTECTED] |
| mailto:[EMAIL PROTECTED] |
|-------------------------------------------------|
| L o v e r o f 1 I N U X |
| Open Invit to all....to talk on 1INUX |
|-------------------------------------------------|
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs