calab-ntu / gpu-cluster

Eureka and Spock GPU clusters
3 stars 0 forks source link

Bash history timestamp #26

Closed hyschive closed 3 years ago

hyschive commented 3 years ago

Goals

Record the bash history timestamp (date and time) on all nodes.

xuanweishan commented 3 years ago

By edit the file /etc/profile Adding the line export HISTTIMEFORMAT='%d/%m/%y %T ' at the end of file. And execute command source /etc/profile image