03-13-2002
Clearify what it means under 'WHAT' when hit the 'w'-command
I wonder how I shall read the result below, especially 'what'
shown below.
The result was shown when I entered 'w'.
E.g what is TOP? What is gosh ( what does selmgr mean?)?
login@ idle JCPU PCPU what
6:15am 7:04 39 39 TOP
6:34am 6:45 45 45 TOP
6:41am 6:39 29 29 gosh /usr/G11R6.1/bin/../bin/selmgr
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I write a sh script that zip and copy to tape all files that older then 2 hours.
1. The way I choose is - touch a file with "now - 2 hours", then use fine with '! -newer'
2. Do you have any other idea to do it ?
tnx. (1 Reply)
Discussion started by: yairon
1 Replies
2. UNIX for Dummies Questions & Answers
I'd like to write a shell script that will enter '1', for example. How
do you do that?
You know, so instead of writing
echo "Enter 1 or 2"
read onetwo
and waiting for the user to enter a 1 or 2,
I'd like the script to act like someone entered a 1, or 2. Is there a
hex value for the... (1 Reply)
Discussion started by: jpprial
1 Replies
3. Programming
I need to compile a file,but 'make' does
not work.please tell me how to use it or
need which tools? (3 Replies)
Discussion started by: dsun5
3 Replies
4. UNIX for Dummies Questions & Answers
my solaris text talks about the 'find' command... it further goes to talk about an "action" used with the find command.
I am completely confused as to what the {} do with the find comand.
the explanation is this: "A set of braces, {}, delimits where the file name is passed to the command from... (2 Replies)
Discussion started by: xyyz
2 Replies
5. UNIX for Advanced & Expert Users
Can anybody help me?
I am developing a utility for automating message paging to a BT alphanumeric pager.
I am using a USR 56K Fax-modem connected to /dev/cuab on a Sun Ultra-10. I am using the UNIX 'tip' utility to connect to the modem and I have configured the modem as follows: Baud Rate:... (2 Replies)
Discussion started by: mybeat
2 Replies
6. Filesystems, Disks and Memory
Hi, guys, I have a big problem.
I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It soon becomes a large file.
I wander if there are some mistakes configuring the workstation.
the /var/adm/message is as follow:
... (1 Reply)
Discussion started by: cloudsmell
1 Replies
7. UNIX for Dummies Questions & Answers
echo 'it's friday'
why appear the > (3 Replies)
Discussion started by: yls177
3 Replies
8. Email Antispam Techniques and Email Filtering
Here is a crude procmail recipe that I quickly created (NOT a procmail recipe expert, btw) that has been catching lots of spam (current second after the charset_spam recipe posted earlier):
:0B
* .*If.you.do.not.wish.to.receive...*
more_spam
:0B
* You.requested.to.receive.this.mailing... (0 Replies)
Discussion started by: Neo
0 Replies
9. UNIX for Advanced & Expert Users
Somehow someone created a file named '-ov' in the root directory.
Given the name, the how was probably the result of some cpio command they bozo'ed.
I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies
10. Shell Programming and Scripting
Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies
GOSH(1) Gauche Commands GOSH(1)
NAME
gosh - a Scheme script interpreter
SYNOPSIS
gosh [-biqV] [-I path ] [-A path ] [-u module ] [-l file ] [-e expr ] [-E expr ] [-f flag ] [--] [ script argument ... ]
DESCRIPTION
Gosh is a stand-alone Scheme interpreter built on top of the Gauche Scheme script engine.
When script is given, gosh loads the script, evaluating Scheme code in it. Then, if the script defines a procedure named main, gosh calls
it with a single argument which is a list of the script name and subsequent arguments. When main returns an integer value, gosh exits with
it as an exit code. If main returns non-integer value, or an error is signaled during evaluation, gosh exits with exit code 70 (EX_SOFT-
WARE). See SRFI-22 (http://srfi.schemers.org/srfi-22/srfi-22.html) for details. If there's no main procedure defined in the script, gosh
exits with code 0 after loading the script file.
If no script file is given, gosh goes into an interactive mode. By default, gosh prompts the user to enter a Scheme expression, read and
evaluates it, then prints the result, until EOF is read. If the standard input is not a terminal, however, gosh doesn't print a prompt; it
allows a user to use gosh as a filter program. This behavior can be controlled by -i or -b option; see below.
OPTIONS
Command line options are processed before loading the script file or entering the interactive mode.
The options -I, -A, -u, -l, -L, -e and -E are processed in the order of appearance. For example, adding a load path by -I option affects
the -l options after it, but not the ones before it.
-V Prints gosh version and exits.
-b Batch mode. Doesn't print prompt even the standard input is a terminal. Supersedes -i.
-i Interactive mode. Forces to print prompt, even the standard input is not a terminal.
-q Prevents reading the default initialization file.
-Ipath
Adds path in front of the load path list.
-Apath
Appends path to the tail of the load path list.
-umodule
Loads and imports module, as if "(use module )" is specified in the code.
-lfile
Loads a Scheme file file.
-Lfile
Like -l, but doesn't complain if file doesn't exist.
-eexpr
Evaluates a Scheme expression expr.
-Eexpr
Same as -e, except that the expr is read as if it is surrounded by parenthesis.
-ptype
Turns on the profiler. Currently type can only be 'time'.
-fflag
Sets various flags.
case-fold uses case-insensitive reader (as in R5RS)
load-verbose report while loading files
no-inline don't inline primitive procedures and constants
(combined no-inline-globals, no-inline-locals, and
no-inline-constants.)
no-inline-globals don't inline global procedures.
no-inline-locals don't inline local procedures.
no-inline-constants don't inline constants.
no-post-inline-pass don't run post-inline optimization pass.
-Ffeature
Makes feature available in cond-expand forms.
-- Specifies that there are no more options. If there are more arguments after this, they are taken as script file name and its argu-
ments.
ENVIRONMENT
GAUCHE_LOAD_PATH
A colon separated list of the load paths.
The paths are appended before the system default load paths.
GAUCHE_DYNLOAD_PATH
A colon separated list of the load paths for dynamically loaded
objects. The paths are appended before the system default load paths.
AUTHORS
Shiro Kawai (shiro @ acm . org)
SEE ALSO
gauche-config(1)
Gauche Scheme script engine:
http://practical-scheme.net/gauche/
For the information about Scheme language, see
http://www.schemers.org/
Gauche 0.9.1 GOSH(1)