07-17-2006
How to find which machine ...
Hi friend,
pls let me know ..
1)How to fine which UNIX machine
Ex . whether it is 32 bit processor OR 64 bit processor ..
2) HP-ux is machine or Architectural ?
pls replay as soon as possible ..
Thanks..
9 More Discussions You Might Find Interesting
1. Programming
I am trying to find the number of caches on a machine programatically.
#include <stdio.h>
#include <malloc.h>
int main(void)
{
int *ptr,*ptr1,i,j;
j=0;
i=1;
printf("Changing allocation with brk()\n");
while(1)
{
for(j=0;j<i;j++)
{
ptr =... (1 Reply)
Discussion started by: jacques83
1 Replies
2. Shell Programming and Scripting
Hi all,
Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue...
Thanks (3 Replies)
Discussion started by: XivaX
3 Replies
3. Red Hat
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies
4. UNIX for Advanced & Expert Users
hi,
I can ping into another unix machine, but I cannot seem to access a certain application. I think it might be because I am now allowed to connect to the port (because of firewall configuration).
How can I find out if I have access to a port on another machine?
thanks (2 Replies)
Discussion started by: JamesByars
2 Replies
5. AIX
Hi,
I want to know if there is any command which will tell me if an AIX machine is a LPar or not. I am using "lparstat -i" but it does not work on all AIX machines. Is there any generic command by whose output I will come to know if it is an LPar or not?
Please help.
Thanks,
Vineet (3 Replies)
Discussion started by: vineetd
3 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I logged in one machine. I want to find one file in other machine. However, I don't know exactly which and where the machine is. I used nmap command to search all available hosts in this network range. I got two available machines through this action. But I still can't find the file I want... (8 Replies)
Discussion started by: w062611
8 Replies
7. AIX
Hi,
i would like to know how can i find , in a client machine , the nim server.
the nim server that this machine have , if the machine have it
Thanks :confused: (1 Reply)
Discussion started by: prpkrk
1 Replies
8. Windows & DOS: Issues & Discussions
Hi guys ..
How to can I know the HBA WWN address in the windows machine ?
Pls advice with command ... (1 Reply)
Discussion started by: roooooot
1 Replies
9. Solaris
I have some VMs where I could identify that they are hosted on SPARC T4-2 .
I am trying to figure out what is the SN of the box/es from gathered explorer logs but the output of the executed commands gave unknown.
Any idea how to get out the SN?
Please let me know if further clarification... (6 Replies)
Discussion started by: ahmedamer12
6 Replies
LEARN ABOUT NETBSD
cpu_need_resched
CPU_NEED_RESCHED(9) BSD Kernel Developer's Manual CPU_NEED_RESCHED(9)
NAME
cpu_need_resched -- context switch notification
SYNOPSIS
#include <sys/cpu.h>
void
cpu_need_resched(struct cpu_info *ci, int flags);
DESCRIPTION
The cpu_need_resched() function is the machine-independent interface for the scheduler to notify machine-dependent code that a context switch
from the current LWP, on the cpu ci, is required. This event may occur if a higher priority LWP appears on the run queue or if the current
LWP has exceeded its time slice.
If RESCHED_KPREEMPT flag is specified in flags and __HAVE_PREEMPTION C pre-processor macro is defined in <machine/intr.h>, machine-dependent
code should make a context switch happen as soon as possible even if the cpu is running the kernel code.
If RESCHED_IMMED flag is specified in flags, machine-dependent code should make a context switch happen as soon as possible. In that case,
for example, if ci is not the current processor, cpu_need_resched() typically issues an inter processor call to the processor to make it
notice the need of a context switch as soon as possible.
Typically, the cpu_need_resched() function will perform the following operations:
o Set a per-processor flag which is checked by userret(9) when returning to user-mode execution.
o Post an asynchronous software trap (AST).
o Send an inter processor interrupt to wake up cpu_idle(9).
SEE ALSO
sched_4bsd(9), userret(9)
BSD
July 31, 2010 BSD