Sponsored Content
Full Discussion: installing solaris 10
Operating Systems Solaris installing solaris 10 Post 80785 by networkfre@k on Thursday 11th of August 2005 05:33:05 PM
Old 08-11-2005
Do you run UltraSPARC I or UltraSPARC II CPUs ?

n3tw0rkfr34k
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing Solaris 8

I'm new to Unix, and Installed Solaris 8 (IA) for the first time with the end user software group, I got the login screen at startup. When I re-installed it with the Full Distribution plus OEM support it bypasses the login screen and logs me as superuser (root). Is this normal? Thanks in... (3 Replies)
Discussion started by: tdrivas
3 Replies

2. UNIX for Dummies Questions & Answers

Installing Solaris

Hi I am trying to install Solaris for Intel, I am getting a error message saying can't open -VTOC. I have tried installing it on two PCs and I get the same error message on both PCs. Can some please help me. Thanks alot Chamkila (1 Reply)
Discussion started by: chamkila
1 Replies

3. Solaris

installing solaris

i have a laptop that i am no longer using and wish to try and install solaris 10 on it for learning purposes but im stumped. i went to sun.com and downloaded the dvd image but i feel like im at a dead end. the files and folders on the dvd image are clearly meant to be used on an existing unix-based... (2 Replies)
Discussion started by: S1CK_0F_WINDOHS
2 Replies

4. Solaris

Installing Solaris 10

Hi All, Il jump straight in.. Iv been asked to install Sun Solaris 10 for a friend and Il be honest.. Iv never installed one before.. Iv looked at some documentation on installing but nbothing to represent my problem.. I downloaded the Solaris 10 Software from sun.com on 5 cd`s.. burnt them... (3 Replies)
Discussion started by: cjdude
3 Replies

5. Solaris

Re-installing Solaris

I am a Windows admin but we require the use of at least one SUN for an application that cannot be installed on Windows. We've had two SUN Netra X1 boxes for some time that have seen some use, but I'm told the newest version of the application cannot be installed on the version of Solaris that is... (12 Replies)
Discussion started by: tawnos42
12 Replies

6. Solaris

Installing Solaris 8 bootblock without Solaris Install CD

Hello everyone, Background: I'm having an issue with booting a clone of hard drive with Solaris 8 installation. For cloning process I have used g4l, running under click'n'clone option. As far as I know the actual operation ran behind g4l's interface was dd, though I do not have any information... (12 Replies)
Discussion started by: johnny994
12 Replies

7. Hardware

Installing Solaris

Hello ladies and gentlemen I had a notebook 250 GB for windows 7, 250 GB for slackware, by the live dvd slaris i installed solaris in partition of windows, instalation ok, when i restart, i can not access menu bios or menu boot, and my notebook doesn't boot any dvd ,.. any help what i can... (0 Replies)
Discussion started by: gitac
0 Replies
cpc_strtoevent(3CPC)													      cpc_strtoevent(3CPC)

NAME
cpc_strtoevent, cpc_eventtostr - translate strings to and from events SYNOPSIS
cc [ flag... ] file... -lcpc [ library... ] #include <libcpc.h> int cpc_strtoevent(int cpuver, const char *spec, cpc_event_t *event); char *cpc_eventtostr(cpc_event_t *event); The cpc_strtoevent() function translates an event specification to the appropriate collection of control bits in a cpc_event_t structure pointed to by the event argument. The event specification is a getsubopt(3C)-style string that describes the event and any attributes that the processor can apply to the event or events. If successful, the funciton returns 0, the ce_cpuver field and the ISA-dependent control registers of event are initialized appropriately, and the rest of the cpc_event_t structure is initialized to 0. The cpc_eventtostr() function takes an event and constructs a compact canonical string representation for that event. Upon successful completion, cpc_strtoevent() returns 0. If the string cannot be decoded, a non-zero value is returned and a message is printed using the library's error-reporting mechanism (see cpc_seterrfn(3CPC)). Upon successful completion, cpc_eventtostr() returns a pointer to a string. The string returned must be freed by the caller using free(3C). If cpc_eventtostr() fails, a null pointer is returned. USAGE
The event selection syntax used is processor architecture-dependent. The supported processor families allow variations on how events are counted as well as what events can be counted. This information is available in compact form from the cpc_getusage() function (see cpc_getcpuver(3CPC)), but is explained in further detail below. UltraSPARC On UltraSPARC processors, the syntax for setting options is as follows: pic0=<eventspec>,pic1=<eventspec> [,sys] [,nouser] This syntax, which reflects the simplicity of the options available using the %pcr register, forces both counter events to be selected. By default only user events are counted; however, the sys keyword allows system (kernel) events to be counted as well. User event counting can be disabled by specifying the nouser keyword. The keywords pic0 and pic1 may be omitted; they can be used to resolve ambiguities if they exist. Pentium I On Pentium processors, the syntax for setting counter options is as follows: pic0=<eventspec>,pic1=<eventspec> [,sys[[0|1]]] [,nouser[[0|1]]] [,noedge[[0|1]]] [,pc[[0|1]]] The syntax and semantics are the same as UltraSPARC, except that is possible to specify whether a particular counter counts user or system events. If unspecified, the specification is presumed to apply to both counters. There are some additional keywords. The noedge keyword specifies that the counter should count clocks (duration) instead of events. The pc keyword allows the external pin control pins to be set high (defaults to low). When the pin control register is set high, the external pin will be asserted when the associated register overflows. When the pin control register is set low, the external pin will be asserted when the counter has been incremented. The electrical effect of driving the pin is dependent uptoon how the motherboard manufacturer has chosen to connect it, if it is connected at all. Pentium II For Pentium II processors, the syntax is substantially more complex, reflecting the complex configuration options available: pic0=<eventspec>,pic1=<eventspec> [,sys[[0|1]]] [,nouser[[0|1]]] [,noedge[[0|1]]] [,pc[[0|1]]] [,inv[[0|1]]] [,int[[0|1]]] [,cmask[0|1]=<maskspec>] [,umask[0|1]=<maskspec>] This syntax is a straightforward extension of the earlier syntax. The additional inv, int, cmask0, cmask1, umask0, and umask1 keywords allow extended counting semantics. The mask specification is a number between 0 and 255, expressed in hexadecimal, octal or decimal nota- tion. SPARC Example 1: SPARC Example. cpc_event_t event; char *setting = "pic0=EC_ref,pic1=EC_hit"; /* UltraSPARC-specific */ if (cpc_strtoevent(cpuver, setting, &event) != 0) /* can't measure 'setting' on this processor */ else setting = cpc_eventtostr(&event); See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ cpc(3CPC), cpc_getcpuver(3CPC), cpc_set_add_request(3CPC), cpc_seterrfn(3CPC), free(3C), getsubopt(3C), libcpc(3LIB), attributes(5) The cpc_strtoevent() and cpc_eventtostr() functions exist for binary compatibility only. Source containing these functions will not com- pile. These functions are obsolete and might be removed in a future release. Applications should use cpc_set_add_request(3CPC) instead. These functions are provided as a convenience only. As new processors are usually released asynchronously with software, the library allows the pic0 and pic1 keywords to interpret numeric values specified directly in hexadecimal, octal, or decimal. 28 Mar 2005 cpc_strtoevent(3CPC)
All times are GMT -4. The time now is 02:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy