09-17-2007
finding path
'which main_2.out' in your example will tell you which main_2.out the shell is using. Note this only tells you the instance of main_2.out the shell finds in $PATH. It does not necessarily mean there is not another one somewhere in the filestore
10 More Discussions You Might Find Interesting
1. Linux
I am using Mandrake 10.1 and I was trying to use K3B to burn my files to CD. Well, I configured the recorder speed to 48X, however when I try to burn a cd, the program gets stuck and return an error 252 or something. I searched the forum and in there somewhere people mentioned about turning on the... (2 Replies)
Discussion started by: Jace
2 Replies
2. Solaris
prstat
usage: prstat
]
]
something equivalent to "top -d 1" ?
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
3. UNIX for Dummies Questions & Answers
I need to know how to update our UNIX systems for 2007 DST. Problem is, I have no idea what version of UNIX we have or how to even find out what version it is. I work in the IT department and none of my co-workers know anything about UNIX either.
So, I have two questions. First of all, how do I... (5 Replies)
Discussion started by: mcrawford575
5 Replies
4. UNIX for Advanced & Expert Users
Hello,
I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this:
** cfdlab17 **
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (0 Replies)
Discussion started by: nanay
0 Replies
5. UNIX for Advanced & Expert Users
Hello,
I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this:
** cfdlab17 **
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (1 Reply)
Discussion started by: nanay
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this:
** cfdlab17 **
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (1 Reply)
Discussion started by: nanay
1 Replies
7. AIX
Fault Management System. I think it is an in-house application but I am not sure. So if there are people out there that know this application, I have a few questions about it. (0 Replies)
Discussion started by: Browser_ice
0 Replies
8. Shell Programming and Scripting
unix script must do the fiollowing
open a file containing comma delimited records
> each record contains 10 fields
> removes the 2nd field and use that same field containing fields 2 to 10
the original record after fprocessing should containing fields 1 and 3
a new erecord must be... (10 Replies)
Discussion started by: dwightja
10 Replies
9. Debian
Hello,
I have a few questions about this server.
It has two CPU's 3.20 ghz / 800 mhz / 1MB L2
5120 MB RAM
6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each)
RAID set to RAID 5 (5 discs) with one spare (6th disk)
USB, 2 Ethernet ports, 1 ILO port, 1 SCSI port
... (2 Replies)
Discussion started by: Marcus Aurelius
2 Replies
10. UNIX for Dummies Questions & Answers
HI Guys,
I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that
1) I need to enter these commands
$ echo $DISPLAY
$ setenv $DISPLAY output_of_echo_$display_command
How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies
LEARN ABOUT MOJAVE
platform::shell
platform::shell(n) Tcl Bundled Packages platform::shell(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________
DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(n)