Greetings,
I have a oracle database server and i keep getting grid control message
Metric=Disk Device Busy (%)
Metric Value=98.66
Disk Device=ssd430
Severity=Critical
Message=Disk Device ssd430 is 98.66% busy.
so I am trying to correlate the ssd430 to the filesystem. I understand this... (3 Replies)
Hi,
i have a given file named hugo.dat. In this file there are several lines that contain characters like } and ~
Now, i need a script that replaces the character } to ü
and character ~ to ß
Can anyone help for a working ksh script?
Kind Regards
FranzB (3 Replies)
I want to strip off '\032' character from a file using:
tr -d '\032' < oldfile > newfile
this outputs the contents of oldfile to newfile, but I wanna do that in the same file i.e. remove the \032 character from the old file. I tried:
tr -d '\032' < oldfile > oldfile
But the... (3 Replies)
Hi all,
I am new to Linux kernel/user space programming having been an assembly programmer in my previous life. I am now using 2.6.x kernel on an embedded CPU that has a few dedicated hardware blocks (including more CPU running just C-code, i.e., no operating system).
There is a single DRAM... (1 Reply)
echo $(date +%s) | awk '{ print strftime("%c", $2"-"$3"-"$NF"/"$4); }'
The above command only seems to work on newer versions of awk or systems with gawk installed.
how can i translate the epoch time into a human readable format using a portable method?
also, date -d@$epochtime does not... (3 Replies)
Discussion started by: SkySmart
3 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)