Top Forums UNIX for Dummies Questions & Answers To find processor speed & memory in HP Unix 10.2 Post 14233 by thehoghunter on Tuesday 29th of January 2002 12:47:15 PM
Old 01-29-2002
You can use SAM or stm (read the man page).

Last edited by thehoghunter; 01-29-2002 at 03:11 PM..

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix & Processor compatibility

subject is self explanitory... can i install Unix on a system w/ and AMD processor (1 Reply)
Discussion started by: goliath3021
1 Replies

2. UNIX Desktop Questions & Answers

Where can I find a Unix OS that will run on a 386 processor?

Hey, can anyone recommend a URL (or website) where I can download a basic (or old) UNIX OS that will run on an ancient laptop that has a 386 processor, 4MB of RAM and a 40MB harddrive? Your help and suggestions are much appreciated! :confused: (4 Replies)
Discussion started by: methudrez
4 Replies

3. Solaris

processor speed in mHZ

how do i tell the processor speed on solaris 8? (2 Replies)
Discussion started by: csaunders
2 Replies

4. Solaris

Processor and memory supports

HI i'am Giancarlo D. Jabon student from AMA Computer University is anyone among all of you who knows the maximum processor and memory supports in Sun Solaris 10 Thanks !!!! (3 Replies)
Discussion started by: giancarlodjabon
3 Replies

5. HP-UX

How to find the memory in HP-Unix?

Hi, I have a HP-Unix server, version B.11.23. Can someone tell me how to find out the physical memory & virtual memory (swap) in my server? & what is Page fault? & is there any limitation for page fault? Thank you. Your help is appreciated. (7 Replies)
Discussion started by: Amol21
7 Replies

6. Shell Programming and Scripting

Processor and Its speed

Hi I need a command to know how many processors are available and what is their speed in UNIX. Thanks (2 Replies)
Discussion started by: diksha2207
2 Replies

7. UNIX for Advanced & Expert Users

How to find out memory & cpu usage of a process

Hi, By using time command we can determine the execution time of a process or command. bash-2.04$ time ls -l total 0 -rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1 -rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2 real 0m0.002s user 0m0.000s sys 0m0.001s... (5 Replies)
Discussion started by: learn more
5 Replies

8. Solaris

Check Solaris Zones Processor & Memory allocations

Hi, I am a newbee in the solaris administration. My question is how to 1. Check the total CPU and memory of a global zone. 2. Check the allocated CPU and memory for each of the residing non-global zones. I have already tried prtconf which gives the following output /usr/sbin/prtconf... (4 Replies)
Discussion started by: poga
4 Replies
SAM_HC_CALLBACK_REGISTER(3)			    Corosync Cluster Engine Programmer's Manual 		       SAM_HC_CALLBACK_REGISTER(3)

sam_hc_callback_register - Register health check callback SYNOPSIS
#include <corosync/sam.h> cs_error_t sam_hc_callback_register (sam_hc_callback_t cb); DESCRIPTION
The sam_hc_callback_register function is used to register a user provided healthcheck callback. After calling of this function, the SAM is switched from application driven healthchecking to event driven healthchecking. In this mode, sam_hc_send(3) does not need to be executed. The parameter cb is callback function of type sam_hc_callback_t defined as: typedef int (*sam_hc_callback_t)(void); This function will be regulargly called and must return 0 if the process is functioning normally, or -1 if the process is executing abnor- mally. When -1 is returned, the SAM server execute the registered recovery policy. A value of NULL can be passed into this function to switch into application driven healthchecking. cb to NULL. RETURN VALUE
This call return CS_OK value if successful, otherwise and error is returned. ERRORS
CS_ERR_BAD_HANDLE SAM was not initialized and registered or health checking is in running state CS_ERR_LIBRARY internal library call failed. This can occur during fork() or pipe () system calls and the errno variable can be read to retrieve more information. SEE ALSO
sam_start(3), sam_stop(3), sam_hc_send(3), sam_register(3), corosync Man Page 12/01/2009 SAM_HC_CALLBACK_REGISTER(3)

Featured Tech Videos

All times are GMT -4. The time now is 06:49 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy