11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LISTUSER<br />

Syntax<br />

LISTUSER()<br />

Description<br />

The LISTUSER function returns information about UniData processes currently<br />

running in a dynamic array.<br />

In the event a UniData user session aborts through a power failure or other abnormal<br />

circumstance, UniData registers the aborted process as an active user, and it appears<br />

as such in the LISTUSER array. Eventually, the cleanupd daemon will detect these<br />

processes and remove the aborted process from the user list.<br />

LISTUSER Dynamic Array (UNIX)<br />

The following table describes the information in the LISTUSER array, by position.<br />

Parameter Description<br />

1-414 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

UDTNO Sequential number UniData assigns to each user.<br />

USRNBR System-level process ID (pid) assigned to a UniData session.<br />

UID System-level ID assigned to a user.<br />

USRNAME Login name of the user.<br />

USRTYPE Type of process the user is running.<br />

TTY Device ID.<br />

TIME Time the user process started.<br />

DATE Date the user process started.<br />

LISTUSER Array

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!