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.15 Collected Data

Item

Details

Option

None

-s

-g

GLS settings information

  • Result of hanetconfig print

  • Result of hanetconfig version

  • Result of hanetpoll print

  • Result of hanetparam print

  • Result of dsphanet

  • Result of hanetbackup

Yes

Yes

Yes

GLS user script information

  • Data in script folder

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

  • Internal data of GLS virtual driver

Yes

Yes

Yes

Driver information

  • OEM driver information

Yes

Yes

Yes

Network adapter information

  • Registry

Yes

Yes

Yes

Application log information for modification provided by the Updatesite (middleware)

  • Application log for modification provided by the Updatesite (middleware)

Yes

No

No

Windows network information

  • arp -a

  • at

  • hostname

  • ipconfig /all

  • nbtstat -c

  • net accounts

  • net config server

  • net config workstation

  • net share

  • net start

  • 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

  • pnputil -e

  • qprocess

  • quser

  • qwinsta

  • route print

  • Network function information

Yes

No

No

Windows system information

  • date /T

  • time /T

  • schtasks

  • systeminfo

  • tasklist /SVC

Yes

Yes

No

Windows log

  • Application event log

  • System event log

Yes

No

No

Hyper-V configuration information

  • Result of wmic

  • Registry

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