08-08-2008
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Does anyone know a good script/tool for remote identification of hardware on a linux-based system (RH9/NLD) ?
I'd like to know all the specifics like amount of memory, motherboard vendor, chipset and so on.... (0 Replies)
Discussion started by: patrickb
0 Replies
2. Shell Programming and Scripting
Does anyone know a shell command that identifies the functions from a C file? Thank you (7 Replies)
Discussion started by: xinfinity
7 Replies
3. AIX
Hi,
While I am trying SFTP my machine to another unix machine ,
it was working fine till 10 min back.
But now i am getting the below error
"Request for subsystem 'sftp' failed on channel 0"
Could you please someone help me to solve or analyise the root cause...
Cheers:b:,
Mahiban (0 Replies)
Discussion started by: mahiban
0 Replies
4. Shell Programming and Scripting
Hi,
I have one problem. I want to identify all those files which are named according to the format <name>_<date>. I have tried using awk and grep in bash but i m not able to get it correct.
Can someone please help? It's urgent !! (10 Replies)
Discussion started by: udayan_goswami
10 Replies
5. AIX
Hi, I need to know how can I identify, wich SP is installed in my OS (AIX5.3)? and how can I upgrade it?
thanks a lot, (7 Replies)
Discussion started by: fdeivis
7 Replies
6. Solaris
Hi,
i got the following error when i tried to access the cygwin x server from a windows XP PC.
"xdmcp fatal error session failed session 23 failed for display"
Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies
7. Shell Programming and Scripting
Have a script that I'm trying to adapt for something else, but I do not understand the following lines. Can anyone help?
I know what expr does, `expr 8 + 2`, but:
FILENAME=`expr //$FILE : '.*/\(.*\)'`
UNPACKDIR=`echo $FILE | sed -e s/$FILENAME//g`
Thanks (6 Replies)
Discussion started by: bound4h
6 Replies
8. UNIX for Advanced & Expert Users
Good Evening,
2 years ago, I set up an Ubuntu file-server for a friend, who is a photograph amateur. Basically, the server offers a software RAID-5 that can be accessed remotely from a MAC. Unfortunately, I didn't labeled the hard drives (i.e. which physical drive corresponds to the /dev/sdX... (2 Replies)
Discussion started by: Loic Domaigne
2 Replies
9. Shell Programming and Scripting
Hi All,
I have a pretty demanding requirement for an SFTP script I have been trying to put together.
I have nearly 100 files (all with the names staring with T_PROD) generated in my local server daily. I need to transfer each of these files to a remote server via SFTP (that's a client... (6 Replies)
Discussion started by: Aviktheory11
6 Replies
10. Solaris
Hi Guys,
I have performed OBP & ALOM upgrade on V240 system. One of my system, running Solaris 10, having issue to identify flash rom during ALOM 1.6.10 version upgrade (OBP upgraded to latest one).
May I know what the reason of this error and how can I fix it so I can upgrade ALOM using... (0 Replies)
Discussion started by: myrpthidesis
0 Replies
LEARN ABOUT CENTOS
platform
platform(n) Tcl Bundled Packages platform(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform - System identification support code and utilities
SYNOPSIS
package require platform ?1.0.4?
platform::generic
platform::identify
platform::patterns identifier
_________________________________________________________________
DESCRIPTION
The platform package provides several utility commands useful for the identification of the architecture of a machine running Tcl.
Whilst Tcl provides the tcl_platform array for identifying the current architecture (in particular, the platform and machine elements) this
is not always sufficient. This is because (on Unix machines) tcl_platform reflects the values returned by the uname command and these are
not standardized across platforms and architectures. In addition, on at least one platform (AIX) the tcl_platform(machine) contains the CPU
serial number.
Consequently, individual applications need to manipulate the values in tcl_platform (along with the output of system specific utilities) -
which is both inconvenient for developers, and introduces the potential for inconsistencies in identifying architectures and in naming con-
ventions.
The platform package prevents such fragmentation - i.e., it establishes a standard naming convention for architectures running Tcl and
makes it more convenient for developers to identify the current architecture a Tcl program is running on.
COMMANDS
platform::identify
This command returns an identifier describing the platform the Tcl core is running on. The returned identifier has the general for-
mat OS-CPU. The OS part of the identifier may contain details like kernel version, libc version, etc., and this information may con-
tain dashes as well. The CPU part will not contain dashes, making the preceding dash the last dash in the result.
platform::generic
This command returns a simplified identifier describing the platform the Tcl core is running on. In contrast to platform::identify
it leaves out details like kernel version, libc version, etc. The returned identifier has the general format OS-CPU.
platform::patterns identifier
This command takes an identifier as returned by platform::identify and returns a list of identifiers describing compatible architec-
tures.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform 1.0.4 platform(n)