Download Purpose - MP SLDC

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Important Commands
MAP
PURPOSE:
Assigns network drive letters to directories, can modify path.
Common Usage:
MAP [drive:=directory]
Explanation:
Letters G through Z can be used in NetWare as shorthand substitutions for
directories located on file server disk (network) drives. The MAP command is
used to make the substitution assignments.
Examples:
1) Typing in:
MAP
will display all NetWare drive mappings currently established for your
workstation.
2) Typing in:
MAP k:=quercus/sys:fred
will "map" the drive letter k: to the NetWare directory SYS:FRED on server
Quercus. The drive reference "k:" can be used in place of SYS:FRED within
NetWare and some DOS commands.
3) Typing in:
MAP s3:=quercus/user:fred\bin
MAP INS s3:=quercus/user:fred\bin
MAP DEL s3:
allows you to modify your search path. The first example replaces the third
element of the path with QUERCUS/USER:FRED\BIN. The second inserts the
directory into the third position in the search path (moving all the rest down
one). The third example deletes the third element of the search path.
NCOPY
Purpose:
copy one or more files from one network directory to another.
Explanation:
In the words of the NetWare manual, "NCOPY is nearly identical to the DOS
COPY command, except that it is considerably faster when copying files
between network directories on the same file server." It is also capable of
dealing with file server and volume references in source and target names
which COPY can not deal with.
Common Usage:
NCOPY source-filename target-filename
Examples:
NCOPY FRED FRED2
will copy the contents of the file FRED into FRED2 in your current working
directory.
NCOPY TSUGA/USER:GEORGE\PAM FSDB/USER:PETE\SAM\PAM
will copy the contents of file PAM in directory GEORGE on file server TSUGA
volume USER to file PAM in the directory PETE\SAM on file server FSDB volume
USER. Note that you must be logged in to both servers for this to work.
Slist Command
This command lists active NetWare servers. If you include the wildcards "*" or "?",
servers whose names match the patterns appear in the list. The display pauses
automatically after each 20 servers.
Type
SLIST <ENTER>
Information similar to the following appears:
Known NetWare File Servers Network Node Address
-------------------------- ------- -----------RECORDS
[CED88] [2608C234732]
SALES
[CED87] [2608C217651]
MFG
[CED86] [2608C293185]
View Current Users on Your File Server
You must be attached to a file server before you can view the list of users for
that file server.
Examples
1.
Use the following command to list all active NetWare servers on the network and display the list without pauses:
slist /Continuous
2.
Use the following command to list the server green, if active:
slist green
Slist is used to obtain a list of Novell File Servers running on your network.
SLIST (servername/*)
CASTOFF
------------------------------------------------------------------------------
Purpose:
Emulates the Novell NetWare CASTOFF.EXE utility.
Syntax:
CASTOFF [ALL]
Parameters:
ALL is an optional flag to cast off all messages.
Returns:
None.
NWErrorGet() returns non-zero if an error occurs.
Description:
CASTOFF is used to stop a workstation from receiving messages.
When called on its own, messages from other users are ignored but console
messages are allowed through. Used with the ALL flag, CASTOFF stops both
user and console messages.
Example:
// To stop other users sending messages to your workstation:
#include "novlib.ch"
CASTOFF
if ( NWErrorGet() = 0 )
? "Receipt of user messages has been disabled"
endif
// To stop both users and the console from sending messages to your
// workstation:
#include "novlib.ch"
CASTOFF ALL
if ( NWErrorGet() = 0 )
? "Receipt of user and console messages has been"
?? " disabled"
endif
Notes:
This command will only work with CA-Clipper 5.x. For more
information see CASTOFF.EXE in the NetWare reference manuals.
SEND
SEND allows the console administrator to send messages, from the NetWare server
console to a user, to a select number of users, or to all users that are attached to the
NetWare server. These messages can be sent using the users' name or the users'
connection number.
Usage:
SEND "message" [[TO] username|connection_number] [[and|,]
username|connection_number...]
Examples:
To send a message to all connected users:
SEND "Hello!"
To send a message to two users, by username:
SEND "Hello!" to Gamal and Rebecca
To send a message to two users, by connection number:
SEND "Hello!" to 1 and 2
Send is used to send messages to users our groups. This is particularly
useful in the event of a system reboot, where it's helps to alert the users as
to the planned outage.
SEND ("message") TO (USER/GROUP) (Username)
As in
SEND "The Server is going down" TO USER paul
USERLIST
The Userlist command is a handy way to see the users logged into another
server on the network (obviously, on console you could just use conman).
Userlist will display the connection number, user name and login time of
each user on the specified server unless the /all switch is used, where the
network and node information will be included as well
USERLIST (SERVER) (/ALL)
NDIR
Ndir is a wholly powerful directory information command. In most NOS' the directory
listing command must be 'piped' into another parsing or sorting command to
customize the output. Ndir has most of the functions that you could require from the
get go.
NDIR (path) | (option=filename) or (filename)
Explain:GRANT
The Grant command is used to set file permissions to specified users and
groups. (Sort of like cacls in Windows NT.)
grant (option) (path) USER / GROUP {user/group}
R(read) = grant read access
W(write) = grant write access
C(create) = grant create access
D(delete) = grant delete access
S(search) = grant search access
M(modify) = grant modify access
A(all) = grant all access
NO RIGHTS = grant no access
CHKVOL
This command is used to view information about specified server volumes.
chkvol (path to volume)
PURGE
One of the greatest features of Novell as a server is the fact that it more or
less has server-wide file deletion. When files are deleted, they are not
actually deleted, just removed from the user / admin's perception. The files
are stored in a separate location where they can be later recovered using the
salvage command.
This functionality means that additional disk space is required and
occasionally it is nessacery to remove these stored files. This is what purge
does.
SALVAGE
The salvage command restores files or directories that have been
accidentally erased. Note that this WILL NOT work if you've run the PURGE
command since the files were erased. Also note that this should be done
from the same location that the file was erased from.
Salvage (path)
RENDIR
Purpose:
rename a directory.
Common Usage:
RENDIR path directory
Example:
RENDIR USER/TEST JUNK
will rename the subdirectory TEST in directory USER to JUNK.
BROADCAST SERVER MESSAGE
Syntax
>>-BROADCAST SERVER MSG='message text'---USER=userID-----------><
Purpose of Command
The BROADCAST SERVER MESSAGE command enables the user to send a
message to a specific user or the entire system.
Operand Descriptions
message text
The content of the message to be sent.
Note: Single quotes are required around the message text but are supplied by command facility.
userID
The ID of the person who is to receive the message.
Note: If this field is left blank the message will be broadcast to the entire system.
Refer to Tivoli NetView for OS/390 Messages and Codes or the NetView online help
for a complete description of all MultiSystem Manager messages.
LOAD
Purpose
Use LOAD to link loadable modules to the operating system. Loadable modules include disk drivers, LAN
drivers, NLM™ programs, platform support modules, and name space modules.
Use the LOAD command to load application modules to a protected address space, a region of logical
memory in user mode (ring 3). Protected modules operate in their own execution environment. You can
also mark a protected address space for restart after cleanup.
IMPORTANT: LAN and disk drivers or the MONITOR utility are not candidates for protected address
space because they must run in the kernel. For example, MONITOR makes system calls that the call gate
doesn't allow between protected space and the kernel.
Use the LOAD command at the server console to load server NLM programs. You can also use LOAD at a
workstation running the Novell® Client™ to load client modules. Client NLM programs used by Novell
Client load without parameters.
HINT:In most cases you can load an NLM program by simply entering the name of
the NLM program at the server console prompt. LOAD is implied. For example, to
load monitor.nlm, just enter MONITOR.
The exception is if there is an .ncf file of the same name as the utility. In this case, you must use the LOAD
command. Using LOAD tells the server to load the utility instead of executing an .ncf file with the same name.
The following information explains the loading process and load parameters, whether or not you actually use LOAD
as part of the command string.
Syntax
[LOAD] [PROTECTED | RESTART | address_space_name] [path]loadable_module_name [parameter...]
MONITOR
Purpose
Use at the server console to




View server statistics and activity
Assess server RAM and processor utilization
Set server parameter values
Print server parameter settings to a file
NOTE: The screen saver and the console-locking features have been removed from MONITOR and
incorporated in the SCRSAVER utility.
Syntax
[LOAD] [path] MONITOR
LOAD
Purpose
Use LOAD to link loadable modules to the operating system. Loadable modules include disk drivers, LAN
drivers, NLMTMprograms, platform support modules, and name space modules.
Use the LOAD command to load application modules to a protected address space, a region of logical
memory in user mode (ring 3). Protected modules operate in their own execution environment. You can
also mark a protected address space for restart after cleanup.
IMPORTANT: LAN and disk drivers or the MONITOR utility are not candidates for protected address space because
they must run in the kernel. For example, MONITOR makes system calls that the call gate doesn't allow between
protected space and the kernel.
Use the LOAD command at the server console to load server NLM programs. You can also use LOAD at a
workstation running the Novell® ClientTM to load client modules. Client NLM programs used by Novell
Client load without parameters.
HINT: In most cases you can load an NLM program by simply entering the name of the NLM program at
the server console prompt. LOAD is implied. For example, to load monitor.nlm, just enter MONITOR.
The exception is if there is an .ncf file of the same name as the utility. In this case, you must use the
LOAD command. Using LOAD tells the server to load the utility instead of executing an .ncf file with
the same name.
The following information explains the loading process and load parameters, whether or not you
actually use LOAD as part of the command string.
Syntax
[LOAD] [PROTECTED | RESTART | address_space_name]
[path]loadable_module_name [parameter...]
DISABLE
Purpose
Use at the server console to prevent users from logging in.
Syntax
DISABLE LOGIN
Using DISABLE LOGIN


Use this command to prevent users from logging in when you are making repairs, backing up
files, or loading software.
Users already logged in aren't affected. However, a user who logs out can't log in again until
you execute ENABLE LOGIN. See ENABLE LOGIN.