Sponsored Content
Full Discussion: which platform
Top Forums Shell Programming and Scripting which platform Post 302352913 by temhem on Monday 14th of September 2009 03:40:35 AM
Old 09-14-2009
Thanx everyone
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Platform decision

Hi folks First, let me apologize in advance for the long message. I know this will sound like a typical "newbie" message but I am really working to understand the technology in order to make informed decisions. I am currently in the process of evaluating Unix hardware and OS platforms for an... (5 Replies)
Discussion started by: Scooter
5 Replies

2. AIX

AIX platform

Hello, I need to download some programs to AIX 5.2 box but the download page have two versions: for 32 and 64 bits. Is there a command to know what platform is my AIX 5.2 box? I mean 32 or 64 bits?? Thanks in advance. (1 Reply)
Discussion started by: jpoot
1 Replies

3. Shell Programming and Scripting

Multiple platform scripts

Hello I'm writing a script system in bash that I want to run on Un*x (SunOS), Linux, and cygwin also. The scripts starts with the sha-bang #!/bin/bash, but I experienced that the bash interpreter path are different on these platforms. My question is how can I manipulate the command interpreter... (8 Replies)
Discussion started by: *ptr
8 Replies

4. Programming

Platform type in Unix

Hi all, How does one get the platform type in UNIX (for e.g. sparc/i386)? I need an function call and not the command like uname -p. thanks! (24 Replies)
Discussion started by: slash_blog
24 Replies

5. UNIX for Dummies Questions & Answers

Most used unix platform as desktop.

Just wonder about this question everytime that how many of us use unix as desktop and prefers which unix platform as desktop. - nilesh (4 Replies)
Discussion started by: ynilesh
4 Replies

6. Red Hat

How to tell if your platform is real or VMWare?

Does anyone know for sure how to tell whether the RHEL 3 / 4 / 5 server you're logged into is real or VMware, other than rpm -qa | grep -i vm? And if the server is real, is there any way to tell from the OS level what kind of hardware you're on? I guess I'm looking for something analogous to... (2 Replies)
Discussion started by: lbholde
2 Replies

7. Programming

about unix platform

Hi can any body post example for socket tcpclient in c++ act like browser with HTTp 1.1 and send message for the server (2 Replies)
Discussion started by: Net Star
2 Replies

8. UNIX for Dummies Questions & Answers

Is unix os or platform?

hellow everyone, iam a new user to linux and i have question about unix os. unix is operating system or platform iam confused. i have read some article about unix but i haven't found the answer what iam searching for. so iam confused in this topic can anyone made it clear. Any types of... (8 Replies)
Discussion started by: paruhang
8 Replies

9. UNIX for Advanced & Expert Users

R plots in UNIX platform

How do you see plots produced in R under UNIX platform? Thanks! (2 Replies)
Discussion started by: johnkim0806
2 Replies
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)
All times are GMT -4. The time now is 02:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy