02-28-2008
good point!
ok. I was able to see:
1] Nbre of CPU and Solaris version under sysconfig/uname-X.out
2] Memory size under sysconfig/prtconf-v.out
I still need to know also where to get the info on swap size (usually from top) and NIC card (output of kstat). Any idea?
thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is Solaris still very hardware dependent? As in it is used mostly on SUN workstations and servers?
What about IBM's AIX? Does it only work on IBM machines?
Which is more popular and are there performance or usage differences? (1 Reply)
Discussion started by: CapsuleCorpJX
1 Replies
2. Shell Programming and Scripting
hello
I want to compare settings on 2 servers.
1] what is the command to ssh on servers and execute commands such as
prtconf | grep Memory
uname -a
2] Do you have a built-in script that executes this service?
thanks. (2 Replies)
Discussion started by: melanie_pfefer
2 Replies
3. Solaris
Hi,
Anybody know configuration/installation of orcalator (sic, orcallater) on unix environment?
Please share any document on orcalator.
If you have any procedure for orcalator please send me.
Already i read orcaware configuration.but it is not configuring.
Please do needful.It is very... (11 Replies)
Discussion started by: arjunreddy3
11 Replies
4. Solaris
Hi Friends
I am a Solaries newbie and I am looking out for a software or command or config that can capture all commands run by all users on a server on a daily basis. I believe that this Audit is being done in almost all enterprises and would like to know how the same is done there.
Any... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies
5. Shell Programming and Scripting
Is it possible to use the diff command to compare two directories on different Unix (AIX) servers?
We have two regions set up and we want to be able to compare if the scripts directory in both regions contain the same files?
I want to figure out if its possible.. Have been messing around by... (10 Replies)
Discussion started by: Jazmania
10 Replies
6. Shell Programming and Scripting
Hi
I need a script to run on a Solaris server to confirm if it is a physical server or a Virtual server
please help
Mandaken (0 Replies)
Discussion started by: madmacher
0 Replies
7. Shell Programming and Scripting
Hi folks
I need to write a shell script to check whether source and the destination has the same files. The source and destination are over two servers and connecting through ssh. It should even compare the date i.e, the complete file name, date stamp and size should match. Should list out all the... (3 Replies)
Discussion started by: Olivia
3 Replies
8. Solaris
Got 5-6 Solaris 10 servers in remote location - power work being done.
At the moment, we just back up the application database that these servers run with the idea that if it all goes wrong we can rebuild and then restore the application.
However, requirement is to provide a complete backup... (3 Replies)
Discussion started by: paulfoel
3 Replies
9. Shell Programming and Scripting
Hi All,
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Thanks,
Pranav (1 Reply)
Discussion started by: Pranav Bhasker
1 Replies
10. UNIX for Beginners Questions & Answers
Good day to all.
I'm relatively new in using the Sun Solaris OS. I would like to request your expertise in helping to solve a problem that I have at work. Not sure if this has been asked before but I have tried searching through the internet to no avail.
Basically I have 2 sun solaris... (8 Replies)
Discussion started by: Fossil_84
8 Replies
LEARN ABOUT SUNOS
kstat_install
kstat_install(9F) Kernel Functions for Drivers kstat_install(9F)
NAME
kstat_install - add a fully initialized kstat to the system
SYNOPSIS
#include <sys/types.h>
#include <sys/kstat.h>
void kstat_install(kstat_t *ksp);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI)
PARAMETERS
ksp Pointer to a fully initialized kstat(9S) structure.
DESCRIPTION
kstat_install() is used in conjunction with kstat_create(9F) to allocate and initialize a kstat(9S) structure.
After a successful call to kstat_create() the driver must perform any necessary initialization of the data section (such as setting the
name fields in a kstat of type KSTAT_TYPE_NAMED). Virtual kstats must have the ks_data field set at this time. The provider may also set
the ks_update, ks_private, and ks_lock fields if necessary.
Once the kstat is completely initialized, kstat_install is used to make the kstat accessible to the outside world.
RETURN VALUES
None.
CONTEXT
kstat_install() can be called from user or kernel context.
EXAMPLES
Example 1: Allocating and Initializing a kstat Structure
The method for allocating and initializing a kstat structure is generally as follows:
kstat_t *ksp;
ksp = kstat_create(module, instance, name, class, type, ndata, flags);
if (ksp) {
/* ... provider initialization, if necessary */
kstat_install(ksp);
}
SEE ALSO
kstat_create(9F), kstat_delete(9F), kstat_named_init(9F), kstat(9S)
Writing Device Drivers
SunOS 5.10 26 May 1994 kstat_install(9F)