Sponsored Content
Full Discussion: CDE
Top Forums UNIX for Dummies Questions & Answers CDE Post 1485 by Peterh on Friday 9th of March 2001 06:58:28 AM
Old 03-09-2001
MiB

That was good. I found a error.

"error (pid 926) : error 48 binding socket address 177"

Do you know this means????

thanks pete
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cde

Hi, I'am new to SCO unix and their CDE desktop interface. Yesterdag i installed a unixware 7.11 system, but when I log in as a normal user and click on any icon in CDE i keep getting the same erro, talkback connection failed... what does this means??? I cant even shutdown the machine from... (1 Reply)
Discussion started by: zzero
1 Replies

2. UNIX for Dummies Questions & Answers

Cde

Is there such a thing as installing a CDE for use with UNIX? If so, where would I find one, and how would I do it? What kind of info about UNIX would I need to know before going into this? (3 Replies)
Discussion started by: muscleache
3 Replies

3. UNIX for Dummies Questions & Answers

Cde

Hi There, easy one for you. I am using Solaris 7 on my desktop at home and I don't want to invoke the CDE environment when I boot up. I want it to just boot up to the command line to save on memory. What do I have to do in order to do this? Thanks for your help. (2 Replies)
Discussion started by: gerwhelan
2 Replies

4. AIX

CDE menu

Hi all, is any one knows how can i change menus on my front panel (I need to load the default)? for example : when im entering in a session I've got a application menu ( /etc/dt/appconfig/types/en_US) and i need the default one ( /usr/dt/appconfig/types/C) to be load. I've sold that problem... (1 Reply)
Discussion started by: gabim
1 Replies

5. UNIX for Advanced & Expert Users

Turning off the CDE

I am running Solaris 9 and wanted the CDE stopped when my users login. Can this be done by adding something to the .profile? Basically when they login they should be at the command line and have to start the CDE themselves. Thanks (11 Replies)
Discussion started by: meyersp
11 Replies

6. AIX

CDE Env.

Hi I installed aix 5.2-09 on js21 but am unable to get cde environment through X manager soft. when i run ./rc.dt am able to get the same but this remains till next reboot. What should i do can anybody help me???? (4 Replies)
Discussion started by: vjm
4 Replies

7. HP-UX

Hp-UX 11.23 - CDE not starting

Hi. I installed HP UX few weeks ago. It had some problems with DNS resolving, but I have solved it. Before the last shutdown all was fine. Now CDE is not starting anymore (no desktop logon - only console logon). Also mail deamon starts for about 5 minutes, so I removed it from rc2.d. CDE... (4 Replies)
Discussion started by: netwalker
4 Replies

8. UNIX Desktop Questions & Answers

xfce like cde

At the moment I am using Ubuntu hardy on my desktop. I am going to be adding other Linux's and maybe FreeBSD. I use gnome for special effects, eye candy, and plain old show off stuff. But I want to have a simple DE in my computer installed. I like the way CDE looks and the reviews about its... (7 Replies)
Discussion started by: Texasone
7 Replies

9. UNIX Desktop Questions & Answers

How to migrate Solaris 10 CDE config to HP-UX CDE.

Hello, Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX? Just the config (actions, text files etc). Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies

10. Solaris

Connect to SunOS CDE from another CDE

I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network. However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix. My plan is to connect to CD#1 and then somehow connect to CDE#2. How do I do this? I am just a regular user... (0 Replies)
Discussion started by: tthach830
0 Replies
bind_to_cpu(3)						     Library Functions Manual						    bind_to_cpu(3)

NAME
bind_to_cpu - Bind execution to a specific CPU. LIBRARY
Mach Library (libmach.a) SYNOPSIS
#include <sys/types.h> #include <sys/resource.h> int bind_to_cpu( pid_t pid, unsigned long cpu_mask , unsigned long flag ); PARAMETERS
Specifies the target pid. You must have access rights to the pid. Specifies the CPU on which the thread should run. The target CPU is the bit index in the mask. If you set more than one bit, an error is generated. A cpu_mask of zero clears any previously set CPU binding. Specifies options to CPU binding. Currently only the option BIND_NO_INHERIT is supported. When set, this option causes child processes and threads to not inherit the CPU binding. DESCRIPTION
Upon return from bind_to_cpu, all threads of the target pid are running on the target CPU. Bound threads are not eligible for execution on any other CPU. You release CPU binding by invoking bind_to_cpu with a cpu_mask of zero. EXAMPLES
/* * Fork child process and force it to run on cpu number 3. * Processes created by the forked child will not inherit bindings. */ #include <sys/resource.h> #include <sys/sysinfo.h> #include <sys/signal.h> #include <sys/types.h> #define CPU_3 0x8 /* Bit 3 set */ main() { pid_t pid; if (pid = fork()) { /* parent */ if (bind_to_cpu(pid, CPU_3, BIND_NO_INHERIT)) { kill(pid, SIGKILL); exit(1); /* bind_to_cpu() will print error msg */ } sleep(2); /* wait for child to print CPU */ } else { /* child */ long cpu_num; sleep(1); /* wait for parent to bind CPU */ getsysinfo(GSI_CURRENT_CPU, &cpu_num, 0L, 0L, 0L); printf("child running on CPU %d ", cpu_num); } } In this example, the CPU_3 symbol is defined so that bit three in the bit mask is set. When the pid returned from the fork routine identi- fies the parent routine, the bind_to_cpu routine is called. This routine binds the child process to CPU number three, as specified in the CPU_3 symbol. When the pid returned from the fork routine identifies the child routine, the child routine sleeps to give the parent routine time to set its CPU binding. Then it uses the getsysinfo call to determine its CPU and displays its CPU with the printf routine. If the return value from the bind_to_cpu routine indicates an error, the parent process kills the child process and exits with an error status. RETURN VALUES
Upon successful completion, bind_to_cpu returns zero. Upon error, a -1 is returned. RELATED INFORMATION
Commands: runon(1) Functions: getsysinfo(2) delim off bind_to_cpu(3)
All times are GMT -4. The time now is 07:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy