09-27-2009
your path might not be set. btw are you the root user?
Try this :
/usr/platform/`uname -i`/sbin/prtdiag -v
for HDD model, choose inquiry and for HDD size, choose verify under "format" utility
#/usr/sbin/format
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format>
9 More Discussions You Might Find Interesting
1. Solaris
Hi guys.
Am about to install Solaris10 x86 and I was wondering if there are any news as to whether it is possible or not to install the os on an external drive, especially firewire, I suppose I will have to open my tower and put in the drive to install it..the machine I want to put it on,... (0 Replies)
Discussion started by: BSDDomi
0 Replies
2. Solaris
I have a 1TB hard disk that I had partitioned on a Sun clone and had 7 partitions of 137GB a piece. (Using a USB to SATA adaptor)
I then had loaded a new hard disk on my laptop (T60...Lenova) with Solaris 10 X86. I tried to mount the hard disk but it kept telling me the mount point was busy and I... (2 Replies)
Discussion started by: mndavies
2 Replies
3. HP-UX
Need to find the CPU speed of HP UX for a non root login.
echo "itick_per_usec/D" | adb /stand/vmunix /dev/mem | tail -1 will give the following for non root users
ERROR: cannot open `/dev/mem', errno = 13, Permission denied (2 Replies)
Discussion started by: surajb
2 Replies
4. Linux
Need to find CPU Speed of zLinux.
The commands like cat /proc/cpuinfo and /usr/bin/cpufreq-info does not gave me the expected results.
/usr/bin/cpufreq-info prints the
....
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
analyzing CPU 1:
no or unknown cpufreq... (1 Reply)
Discussion started by: surajb
1 Replies
5. UNIX for Dummies Questions & Answers
anyone ?
i install and it just fail to startup. (0 Replies)
Discussion started by: kakabobo
0 Replies
6. Solaris
Hi All,
Anyone has configured a Sunix Sata S150 card (AKA Initio Inic-1622) + disk in a Solaris10/x86 05/09 system? I wondered what to do to get it running. The Sunix card does not come with a Solaris driver ;-(
The card is seen by the system as the prtconf -v output shows (see below at the... (0 Replies)
Discussion started by: longwave
0 Replies
7. Solaris
Dear All
I am using Core2Duo processor on G31 chipset motherboard
with 1 Gb RAM and 20 GB IDE HDD.
I tried to install Solaris 10 from DVD and it installs Successfully without any error. after the first reboot it stop at GRUB prompt.
I tried to many times with different partitions layout,... (9 Replies)
Discussion started by: jineetech
9 Replies
8. Solaris
I can't mount flash drives and dvd drives on my x86 solaris 10.
The error message appears after login; sd_media_watch_cb: dev gone.
When I issue #mount /usb, it first shows disk is mounted or busy, and
'/dev/dsk/c3t0d0p1 - there is no such device or address' when I repeat
it. But the... (5 Replies)
Discussion started by: vectrum
5 Replies
9. Solaris
Hi all,
Installed Solaris10(1/13) on a normal Lenovo Thinkcenter desktop. The installation could proceed only in text mode (4).
Install is success, but not able to get the login window after the grub screen. The screen goes blank. (as was the case when selecting desktop mode during... (7 Replies)
Discussion started by: Solaris_Begin
7 Replies
LEARN ABOUT CENTOS
cpu_capabilities
cpu_capabilities(3alleg4) Allegro manual cpu_capabilities(3alleg4)
NAME
cpu_capabilities - Contains the capability flags of the CPU. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
extern int cpu_capabilities;
DESCRIPTION
Contains CPU flags indicating what features are available on the current CPU. The flags can be any combination of these:
CPU_ID - Indicates that the "cpuid" instruction is
available. If this is set, then all Allegro CPU
variables are 100% reliable, otherwise there
may be some mistakes.
CPU_FPU - An FPU is available.
CPU_IA64 - Running on Intel 64 bit CPU
CPU_AMD64 - Running on AMD 64 bit CPU
CPU_MMX - Intel MMX instruction set is available.
CPU_MMXPLUS - Intel MMX+ instruction set is available.
CPU_SSE - Intel SSE instruction set is available.
CPU_SSE2 - Intel SSE2 instruction set is available.
CPU_SSE3 - Intel SSE3 instruction set is available.
CPU_3DNOW - AMD 3DNow! instruction set is available.
CPU_ENH3DNOW - AMD Enhanced 3DNow! instruction set is
available.
CPU_CMOV - Pentium Pro "cmov" instruction is available.
You can check for multiple features by OR-ing the flags together. For example, to check if the CPU has an FPU and MMX instructions avail-
able, you'd do:
if ((cpu_capabilities & (CPU_FPU | CPU_MMX)) ==
(CPU_FPU | CPU_MMX)) {
printf("CPU has both an FPU and MMX instructions!
");
}
You can read this variable after you have called check_cpu() (which is automatically called by allegro_init()).
SEE ALSO
check_cpu(3alleg4), cpu_vendor(3alleg4), cpu_family(3alleg4), cpu_model(3alleg4), cpu_capabilities(3alleg4), allegro_init(3alleg4)
Allegro version 4.4.2 cpu_capabilities(3alleg4)