Top
PRIMECLUSTER GLS for Windows User's Guide 4.3

6.4.1 hanet_snap

You can use the hanet_snap command to batch collect data for diagnosing problems.

Format

hanet_snap [-s|-g] -f filename

Description

Batch collects data for diagnosing problems. You can collect data from GLS and from Windows. By specifying options, you can specify that only the required data is collected.

Options

-s

Specifies that the minimum amount of diagnostic data for GLS and Windows is collected.

-g

Specifies that only diagnostic data for GLS is collected.

-f filename

Specifies the name of the file to which to save the collected diagnostic data. To save the data to a file in the current folder, specify the file name only. To save the data to a file in a folder other than the current folder, specify the file path name.
You can specify a backup file on a remote computer, but in this case the backup cannot be performed if there is an error in the IP address of that computer or there is any problem with the network settings or the network itself.

The table below shows what data is collected depending on the specified option.

Table 6.14 Collected Data

Item

Details

Option

None

-s

-g

GLS settings information

  • Result of hanetconfig print

  • Result of dsphanet

  • Result of hanetconfig version

  • Result of hanetbackup

  • Result of hanetpoll print

Yes

Yes

Yes

GLS log information

  • Data in log folder

Yes

Yes

Yes

GLS software information

  • Registry

Yes

Yes

Yes

Internal GLS virtual driver information

  • Data in driver folder

Yes

Yes

Yes

Windows network information

  • arp -a

  • at

  • hostname

  • ipconfig /all

  • nbtstat -c

  • net accounts

  • net config server

  • net config workstation

  • net share

  • net statistics server

  • net statistics workstation

  • netsh dump

  • netsh routing ip show filter

  • netsh routing ip show interface

  • netsh routing ip show persistentroutes

  • netsh routing ip show rtmdestinations

  • netsh routing ip show rtmroutes

  • netstat -an

  • netstat -r

  • qprocess

  • quser

  • qwinsta

  • route print

Yes

No

No

Windows system information

  • date /T

  • time /T

  • systeminfo

  • tasklist /SVC

Yes

Yes

No

Windows log

  • Event log, etc.

Yes

No

No

Yes: Collected No: Not collected

Examples

1

To save diagnostic data on GLS and Windows to a file named "savedata" in the current folder:

> hanet_snap -f savedata

2

To save diagnostic data on GLS and Windows to a file named "savedata" on the C drive:

> hanet_snap -f C:\savedata

Note