User Tools

Site Tools


openvms:openvms-cheatsheet

This is an old revision of the document!


[CHEATSHEET] OpenVMS

Keywords

sort code Full name Translation to linux
UAF User authorization File It's a combination of etc/passwd, etc/group and SElinux/DB concepts with grants and roles
UIC User Identification CODE UID the user identificator, in OpenVMS is [1,100]. As in linux should NOT be unique
DCL Digital Command Language bash LOL

key concepts

Login

OpenVMS Linux
SYS$MANAGER:SYLOGIN.COM /etc/bashrc
SYS$LOGIN:LOGIN.COM ${HOME}/.bashrc

Startup

Show available boot devices

show device

boot from device

boot [DEVICE]

ex:

boot DKA0

Login

root is SYSTEM:

 Welcome to OpenVMS (TM) Alpha Operating System, Version V8.3
 
Username: SYSTEM
Password:

Logout

LOGOUT
LOGOUT/FULL

Basic Commands

df

SHOW DEVICE SYS$SYSDEVICE

See system parameters

To check the values of your system parameters, enter the following command:

RUN SYS$SYSTEM:SYSGEN

And then under SYSGEN> prompt, you can list parameters, for example:

SHOW WSMAX

Show system pagelets

WRITE SYS$OUTPUT F$GETSYI("CONTIG_GBLPAGES")

Show free pagelets

WRITE SYS$OUTPUT F$GETSYI("FREE_GBLSECTS")

Generate more pagelets

AUTOGEN

Find how many pagelets are used by EXE

In this case DCLTABLES.EXE

DIRECTORY/SIZE SYS$LIBRARY:DCLTABLES.EXE

System config

change system config

You have to edit:

SYS$SYSTEM:MODPARAMS.DAT

Still don't know how to edit…

update system parameters and reboot

@SYS$UPDATE:AUTOGEN GETDATA REBOOT

Change dynamic parameters using SYSGEN

Run SYSGEN

RUN SYS$SYSTEM:SYSGEN

SYSGEN: Modify parameter

And (example):

SYSGEN> USE ACTIVE
SYSGEN> SET GBLPAGES 100000
SYSGEN> WRITE ACTIVE
SYSGEN> EXIT

SYSGEN: List all parameters

SHOW /ALL

empty

 
openvms/openvms-cheatsheet.1687847537.txt.gz · Last modified: 2023/06/27 06:32 by dodger