Sponsored Content
Operating Systems HP-UX Verify 4 GB Limit is overcome in 64 Bit Processor Post 302790437 by Corona688 on Friday 5th of April 2013 11:16:17 AM
Old 04-05-2013
Code:
#include <stdlib.h>
#include <string.h>

int main(int argc, char *argv[])
{
        // Allocate 5 gigs of address space
        void *mem=calloc(1024*5, 1024*1024);

        // Write to all this memory, will take a while
        memset(mem, 0, (size_t)(1024*5) * (size_t)(1024*1024));
}

 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris (verify 64 or 32 bit

Hello !! Does anyone know how can I verify if my Solaris is 32 or 64 bit ?? Thank you ! Witt (3 Replies)
Discussion started by: witt
3 Replies

2. Shell Programming and Scripting

How to overcome Segmentation Fault in Unix ??

Hi.. I want to add a line of data to a already existing file.. When i use echo "1i\nGROUP_NAME,JOB_NAME,STATUS,PROCESS_GROUP,JOB_START,JOB_END \n.\nwq" | ex -s abc.txt where abc.txt contains only Hello Testing Insert I am getting this.. dumb: Unknown terminal type ksh: 19464... (4 Replies)
Discussion started by: charan81
4 Replies

3. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

4. Linux

Built in ram limit for 64 bit

Hey all, I have been thinking about getting a new computer, and the motherboard I am looking at is capable of holding up to 8 Gb of ram. Now it appears as though for 32 bit linux, in order to use more than 4 Gb of ram, you had to enable a certain option in the kernel, but if I remember... (2 Replies)
Discussion started by: kermit
2 Replies

5. Solaris

how to know the processor bit capacity

how to know for a particular solaris machine whether i am having a 64 bit or 32 bit processor??? like for machine with details SunOS 5.8 Generic_108528-20 sun4u sparc SUNW,Sun-Blade-100 (3 Replies)
Discussion started by: mobydick
3 Replies

6. Programming

a large file causes segment, how to overcome?

When printing a large file, segment occured. but part of it can be printed normally. There seems no mistake in usage. How to solve the problem. Actually, the file is not very very large. Only 300-400 A4 pages. Thanks (1 Reply)
Discussion started by: cdbug
1 Replies

7. HP-UX

[Solved] processor type and bit information

Hi, I'm trying to download a compatible Oracle Client software for a HP-UX machine. I'd like to know if ... 1) HP-UX is 32 bit or 64 bit? 2) Processor type - Itanium or regular? when I execute uname -a I get HP-UX B.11.11 U 9000/800 728684161 unlimited-user license Based on the... (7 Replies)
Discussion started by: luft
7 Replies

8. Shell Programming and Scripting

overcome unwanted input values in korn shell

Hi All, we are doing automation for installation of oracle, a) ORACLE_HOME_NAME b) ORACLE_HOME above are the argument we need to pass during the script execution, while doing this someone issue the value like ORACLE_HOME=/optware/oracle/11g;rm -rf /optware/oracle/10g its removing... (1 Reply)
Discussion started by: kamauv234
1 Replies
processor_sets(4)					     Kernel Interfaces Manual						 processor_sets(4)

NAME
processor_sets - Collections of processors DESCRIPTION
A processor set is a collection of processors. When a processor set is first created, it does not contain any processors. You can add processors to a processor set, remove processors from a processor set, and also destroy the processor set. In addition, you can assign specific processes to a processor set. When the system is booted, all its processors are assigned to the default processor set. Each processor in a system can be a member of only one processor set at one time. In addition, when you create a process, it is assigned to a processor set. Unless you indicate a specific processor set, a process is assigned to the default processor set. A process can execute only on an processor that is included in the processor set to which the process is assigned. If you assign a process to an empty processor set, it will not execute until a processor is assigned to the processor set or until the process is assigned to another processor set. Use the pset_create command or the create_pset function to create a processor set. When you first create a processor set, it does not con- tain any processors. Use the pset_assign_cpu command or the assign_cpu_to_pset function to assign processors to a specific processor set. When you assign a processor to a specific processor set, the processor is removed from its current processor set. Use the pset_destroy command or the destroy_pset function to destroy a processor set. Processors that belong to a destroyed processor set are assigned to the default processor set. Use the pset_assign_pid command or the assign_pid_to_pset function to assign a process to a specific processor set. In addition, you can request that a process has exclusive access to a processor set. If a process has exclusive access to a processor set, no other process is able to use that processor set. If a process has exclusive access to a processor set, that access will be cleared automatically when the process exits. Note that if a process is already assigned to a processor set, a request for exclusive access to that processor set will be denied. Use the pset_info command to display the status of each processor set on the system as well as the status of each processor. You must be root to create and destroy processor sets and to assign a processor to a processor set. Processor set creation and destruction and processor assignments to processor sets are logged in the /var/adm/wtmp file. FILES
/var/adm/wtmp RELATED INFORMATION
Commands: pset_create(1), pset_destroy(1), pset_info(1), pset_assign_pid(1), pset_assign_cpu(1), runon(1), psrinfo(1), psradm(8) Functions: assign_pid_to_pset(3), assign_cpu_to_pset(3), create_pset(3), destroy_pset(3) delim off processor_sets(4)
All times are GMT -4. The time now is 07:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy