TotalNET Advanced Server 5.2 Reference Manual

Examples

  1. Use the following command to display the inode number, device number, lock state, and number of clients:


    tnld

    Sample Output:

    Inum

    device

    state

    clients

    229114

    32,1

    DN

    1

  2. Use one of the following commands to display the inode number, device number, lock state, number of clients, and file names:


    tnld -f /home2/tmp/sh.date
     tnld -s

    Sample Output:

    Inum

    device

    state

    clients

    229144

    102,7

    DN

    1

    filename

    /home2/tmp/sh.date

  3. Use the following command to display contents of the file service lock file in long output format with lock-entry lines and without a file name:


    tnld -l

    Sample Output:

    Inum

    device

    state

    Pid

    user

    229144

    102,7

    DN

    9365

    totalnet

    realm

    service

    NB

    spiffy:file

  4. Use the following command to display the file service lock file in long output format with lock-entry lines, and for a file name readodd.notes in the directory /home2/tmp/:


    tnld -l -f /home2/tmp/readodd.notes

    Sample Output:

    Inum

    device

    state

    filename

    298503

    32.1

    DN

    /home2/tmp/readodd.notes

    Pid

    user

    realm

    service

    9365

    totalnet

    NB

    spiffy:file

  5. Use the following command to display the file service lock file in long output format with client-info lines for the file service client marcie:


    tnld -l -c `N(marcie<00>/1/0)1901' marcie

    Sample Output:

    Inum

    device

    state

    Pid

    user

    229144

    32,1

    DN

    9467

    totalnet

    realm

    service

    NB

    plural:file

  6. Use the following command to display the file service lock file in wide output format with client-info lines:


    tnld -w

    Sample Output:

    Inum

    device

    state

    Pid

    user

    realm

    229144

    32,1

    DN

    9467

    totalnet

    NB

    service

    client

    plural:file

    N(marcie<00>/1/0)1901