Sponsored Content
Operating Systems Solaris How to check power consumption of Solaris servers ? Post 302455705 by fpmurphy on Wednesday 22nd of September 2010 09:24:00 AM
Old 09-22-2010
One quick and dirty way is to measure the amps using a clamp-on amp meter around the power cords.
 

7 More Discussions You Might Find Interesting

1. HP-UX

need to find the power consumption of a RX7640 server.

Hi All, Need to find the power consumption of a RX7640 server. Please help. Regards, Sag. (3 Replies)
Discussion started by: sag71155
3 Replies

2. Solaris

Coredumps and swap - was part of Solaris Mem Consumption

We have Sun OS running on spark : SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440 Having Physical RAM : Sol10box # prtconf | grep Mem Memory size: 8192 Megabytes My Top Output is : 130 processes: 129 sleeping, 1 on cpu CPU states: 98.8% idle, 0.2% user, 1.0%... (39 Replies)
Discussion started by: rajwinder
39 Replies

3. Solaris

Solaris Mem Consumption

We have Sun OS running on spark : SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440 Having Physical RAM : Sol10box # prtconf | grep Mem Memory size: 8192 Megabytes My Top Output is : 130 processes: 129 sleeping, 1 on cpu CPU states: 98.8% idle, 0.2% user, 1.0%... (27 Replies)
Discussion started by: rajwinder
27 Replies

4. Shell Programming and Scripting

Determining User Consumption in solaris

Inorder to find the user memory consumption I used the command: prstat -s cpu -a -n 10 But now I want to automate it and want to write the output to a file. How can I write the out put of user name and percentage of consumption alone to an output file.? (2 Replies)
Discussion started by: engineer
2 Replies

5. UNIX for Dummies Questions & Answers

How to get current power consumption of a machine

Hi Is there any native commands or somewhere in the /proc files to get the machine's power consumption? I googled for a while and cannot really find this information Thanks for your help. (6 Replies)
Discussion started by: flagman5
6 Replies

6. Shell Programming and Scripting

Script to check numerous ports / servers (Solaris native)

Hi I'd like to check that a bunch of firewall rules have been applied and, therefore, want to write a script that basically does the following: telnet serverA port1 telnet serverA port2 telnet serverB port1 telnet serverB port2 I would just compile the list in excel and run it as a... (2 Replies)
Discussion started by: jibberish
2 Replies

7. AIX

AIX 7.1 on Power 750 is very slow with no high memory or process consumption

Hi, This thread has been posted before on linuxquestions.org, but no answer, maybe because this is unix question and not linux. I'm posting the same thread here, hope I can get an answer from someone in the meantime, I wish I could post of emergency thread but it needs bits which I don't have :... (6 Replies)
Discussion started by: aLuViAn
6 Replies
mlib_ImageReformat(3MLIB)				    mediaLib Library Functions					 mlib_ImageReformat(3MLIB)

NAME
mlib_ImageReformat - image data buffer reformat SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageReformat(void **dstData, const void **srcData, mlib_s32 numBands, mlib_s32 xSize, mlib_s32 ySize, mlib_type dstDataType, const mlib_s32 *dstBandoffsets, mlib_s32 dstScanlinestride, mlib_s32 dstPixelstride, mlib_type srcDataType, const mlib_s32 *srcBandoffsets, mlib_s32 srcScanlinestride, mlib_s32 srcPixelstride); DESCRIPTION
The mlib_ImageReformat() function copies and casts, if needed, an image from one buffer to another. The formats and data types of the two buffers may be different. dstPixel[x][y][i] = (dstDataType) srcPixel[x][y][i] where the values of a pixel at position (x, y) and in channel i are: srcPixel[x][y][i] = srcData[i][srcBandoffsets[i] + srcScanlinestride*y + srcPixelstride*x] dstPixel[x][y][i] = dstData[i][dstBandoffsets[i] + dstScanlinestride*y + dstPixelstride*x] It is the user's responsibility to make sure that the data buffers supplied are suitable for this operation. The srcData and dstData can have 1, 2, 3, or 4 channels, and they must have the same number of channels. The srcDataType and dstDataType can be MLIB_BYTE, MLIB_SHORT, MLIB_USHORT, MLIB_INT, MLIB_FLOAT, or MLIB_DOUBLE. The conversions between different data types are implemented as described in the following table: Source Type Dest. Type Action ------------------------------------------------------------------------------------ MLIB_SHORT MLIB_BYTE (mlib_u8)clamp(x, 0, 255) MLIB_USHORT MLIB_BYTE (mlib_u8)clamp(x, 0, 255) ------------------------------------------------------------------------------------ MLIB_INT MLIB_BYTE (mlib_u8)clamp(x, 0, 255) ------------------------------------------------------------------------------------ MLIB_FLOAT MLIB_BYTE (mlib_u8)clamp(x, 0, 255) ------------------------------------------------------------------------------------ MLIB_DOUBLE MLIB_BYTE (mlib_u8)clamp(x, 0, 255) ------------------------------------------------------------------------------------ MLIB_BYTE MLIB_SHORT (mlib_s16)x ------------------------------------------------------------------------------------ MLIB_USHORT MLIB_SHORT (mlib_s16)clamp(x, -32768, 32767) ------------------------------------------------------------------------------------ MLIB_INT MLIB_SHORT (mlib_s16)clamp(x, -32768, 32767) ------------------------------------------------------------------------------------ MLIB_FLOAT MLIB_SHORT (mlib_s16)clamp(x, -32768, 32767) ------------------------------------------------------------------------------------ MLIB_DOUBLE MLIB_SHORT (mlib_s16)clamp(x, -32768, 32767) ------------------------------------------------------------------------------------ MLIB_BYTE MLIB_USHORT (mlib_u16)x ------------------------------------------------------------------------------------ MLIB_SHORT MLIB_USHORT (mlib_u16)clamp(x, 0, 65535) ------------------------------------------------------------------------------------ MLIB_INT MLIB_USHORT (mlib_u16)clamp(x, 0, 65535) ------------------------------------------------------------------------------------ MLIB_FLOAT MLIB_USHORT (mlib_u16)clamp(x, 0, 65535) ------------------------------------------------------------------------------------ MLIB_DOUBLE MLIB_USHORT (mlib_u16)clamp(x, 0, 65535) ------------------------------------------------------------------------------------ MLIB_BYTE MLIB_INT (mlib_s32)x ------------------------------------------------------------------------------------ MLIB_SHORT MLIB_INT (mlib_s32)x ------------------------------------------------------------------------------------ MLIB_USHORT MLIB_INT (mlib_s32)x ------------------------------------------------------------------------------------ MLIB_FLOAT MLIB_INT (mlib_s32)clamp(x, -2147483647-1, 2147483647) ------------------------------------------------------------------------------------ MLIB_DOUBLE MLIB_INT (mlib_s32)clamp(x, -2147483647-1, 2147483647) ------------------------------------------------------------------------------------ MLIB_BYTE MLIB_FLOAT (mlib_f32)x ------------------------------------------------------------------------------------ MLIB_SHORT MLIB_FLOAT (mlib_f32)x ------------------------------------------------------------------------------------ MLIB_USHORT MLIB_FLOAT (mlib_f32)x ------------------------------------------------------------------------------------ MLIB_INT MLIB_FLOAT (mlib_f32)x ------------------------------------------------------------------------------------ MLIB_DOUBLE MLIB_FLOAT (mlib_f32)x ------------------------------------------------------------------------------------ MLIB_BYTE MLIB_DOUBLE (mlib_d64)x ------------------------------------------------------------------------------------ MLIB_SHORT MLIB_DOUBLE (mlib_d64)x ------------------------------------------------------------------------------------ MLIB_USHORT MLIB_DOUBLE (mlib_d64)x ------------------------------------------------------------------------------------ MLIB_INT MLIB_DOUBLE (mlib_d64)x ------------------------------------------------------------------------------------ MLIB_FLOAT MLIB_DOUBLE (mlib_d64)x The actions are defined in C-style pseudo-code. All type casts follow the rules of standard C. clamp() can be defined as a macro: #define clamp(x, low, high) (((x) < (low)) ? (low) : (((x) > (high)) ? (high) : (x))) PARAMETERS
The function takes the following arguments: dstData The pointer to the destination image data buffer. srcData The pointer to the source image data buffer. numBands The number of channels of the image data buffers. xSize The width of the image. ySize The height of the image. dstDataType The data type of the dstData buffer. dstBandoffsets The initial pixel's offsets in the dstData buffer in terms of destination data buffer elements. dstScanlinestride The scanline stride of the dstData buffer in terms of destination data buffer elements. dstPixelstride The pixel stride of the dstData buffer in terms of destination data buffer elements. srcDataType The data type of the srcData buffer. srcBandoffsets The initial pixel's offsets in the srcData buffer in terms of source data buffer elements. srcScanlinestride The scanline stride of the srcData buffer in terms of source data buffer elements. srcPixelstride The pixel stride of the srcData buffer in terms of source data buffer elements. RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_ImageDataTypeConvert(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_ImageReformat(3MLIB)
All times are GMT -4. The time now is 01:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy