05-16-2006
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What command do I use to determine how many/what kind/how big the hard drives on a box are? (2 Replies)
Discussion started by: abolshoun
2 Replies
2. What is on Your Mind?
I seem to get lost when it comes in terms of Networking types and its specifications by different International bodies. I am not able to understand things like -
"synchronous operation on public data networks networking protocol"
"packet mode connected to public data networks by dedicated... (1 Reply)
Discussion started by: S.P.Prasad
1 Replies
3. UNIX for Dummies Questions & Answers
I have the following sed command:
sed '/7361105/s/^\(..............................................................................................................................................................................\)....\(.*\)/\16776\2/' arch.txt > arch.tmp && mv arch.tmp arch.txt
... (4 Replies)
Discussion started by: mvalonso
4 Replies
4. Solaris
Hi,
anybody know how to check the system specification for the unix by using the command like the memory size, cpu's speed and etc.
Thanks. (3 Replies)
Discussion started by: efang
3 Replies
5. Shell Programming and Scripting
Hello Friends,
I want to use range in for loop. For that i used (..) operator but it is not working.
Ex:
for i in 1..24
do
echo $i
done
Instead of printing 1 to 24 nos, it gives o/p as: 1..24
Please help me
Thanks in advance. (2 Replies)
Discussion started by: Niyati
2 Replies
6. UNIX for Dummies Questions & Answers
Hi I have a SUN box that i am supporting Model 480r . The RS card that is attached to it is giving some problems . It is pinging but i am unable to telnet into it therefore having no remote TC console access ( the system is currently up )
Is there a way by which i can remotely check the... (1 Reply)
Discussion started by: Sam4u
1 Replies
7. Solaris
Hi all,
Can anyone help me to get the server specifications like the following?
eg.
SUN Fire XXX
X UltraSPARC X MHZ
X MB Memory
X GB od hard disk
X On board PCI IO card
X PCI HNI card
Thanks. (4 Replies)
Discussion started by: beginningDBA
4 Replies
8. AIX
I am planning to implement sudo for users.
Under , it looks I have to put the users who need to have sudo access:
What are the recommended for users? I don't think I need to give the ALL privilege (i.e ) to AIX users.
I'd like to know the commonly used privilege specification for sudo... (9 Replies)
Discussion started by: Daniel Gate
9 Replies
9. Shell Programming and Scripting
Hi I am working on a program that reads a file with multiple columns and was curious how to specify the columns to be manipulated in the command line.
For example the file may look something like:
Column1 Column2 Column3 Column4 Column5 Column6
AC 82542 3525 ... (1 Reply)
Discussion started by: drossy
1 Replies
10. UNIX for Advanced & Expert Users
Here is the part of the script: I have modified the file name.:)
SSFILE=${My_HOME_DIR}/log/my_file_ss.log
export MM=`date '+%m'`
export DD=`date '+%d'`
export HH=`date '+%H'`
export MIN=`date '+%M'`
export HOURAGO=`echo ${HH} -1 |bc `
echo $HOURAGO
export TTIME=${MM}${DD}${HOURAGO}00... (5 Replies)
Discussion started by: N1a_Raider
5 Replies
isaexec(3C) Standard C Library Functions isaexec(3C)
NAME
isaexec - invoke isa-specific executable
SYNOPSIS
#include <unistd.h>
int isaexec(const char *path, char *const argv[], char *const envp[]);
DESCRIPTION
The isaexec() function takes the path specified as path and breaks it into directory and file name components. It enquires from the running
system the list of supported instruction set architectures; see isalist(5). The function traverses the list for an executable file in named
subdirectories of the original directory. When such a file is located, execve() is invoked with argv[] and envp[]. See exec(2).
RETURN VALUES
If no file is located, isaexec() returns ENOENT. Other return values are the same as for execve().
EXAMPLES
Example 1: Example of isaexec() function.
On a system whose isalist is
sparcv7 sparc
the program
int
main(int argc, char *argv[], char *envp[])
{
return (isaexec("/bin/thing", argv, envp));
}
will look first for an executable file named /bin/sparcv7/thing, then for an executable file named /bin/sparc/thing. It will invoke
execve() on the first executable file it finds named thing.
On that same system, a program called /u/bin/tofu can cause either /u/bin/sparcv7/tofu or /u/bin/sparc/tofu to be invoked using the follow-
ing code:
int
main(int argc, char *argv[], char *envp[])
{
return (isaexec(getexecname(), argv, envp));
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO
exec(2), getexecname(3C), attributes(5), isalist(5)
SunOS 5.10 20 Mar 1998 isaexec(3C)