%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /bin/X11/X11/X11/X11/
Upload File :
Create Path :
Current File : //bin/X11/X11/X11/X11/sg_timestamp

ELF>�@�S@8
@@@@����!!000���L�\�\Pp�L�\�\88800hhhDDS�td88800P�td�B�B�BDDQ�tdR�td�L�\�\pp/lib64/ld-linux-x86-64.so.2 GNU���GNU�OL�5X
B���QR�1GNU��e�m��Fi ���F��og{ ���}���[,, ���X"_ITM_deregisterTMCloneTable__gmon_start___ITM_registerTMCloneTable__libc_start_main__cxa_finalizepr2serrgetopt_longoptargsg_get_llnumoptindsg_cmds_open_deviceconstruct_scsi_pt_objset_scsi_pt_cdbset_scsi_pt_senseset_scsi_pt_data_outdo_scsi_ptsg_cmds_process_respdestruct_scsi_pt_objsg_get_category_sense_strsg_cmds_close_devicesafe_strerrorset_scsi_pt_data_inget_scsi_pt_residhex2stderr__printf_chksg_convert_errnosg_if_can2stderrsg_get_command_strget_scsi_pt_os_errputchar__stack_chk_faillibsgutils2-1.46.so.2libc.so.6GLIBC_2.3.4GLIBC_2.4GLIBC_2.34GLIBC_2.2.5ti	(ii
4���>ui	I�\��\`�\�>�\�@�\�>�\�@�\�@�\�@�\�@�\	A`` `A@` A``%A�`)A�`6A�`CA�`PAaWA a[A@a.A`adA�aiA�aqA�_�_�_
�_�_�_�_�^____ _(_	0_8_@_
H_P_X_`_h_p_x_�_�_�_�_�_�_�_��H��H��OH��t��H����5�N�%�N@��h���f���h����f���h����f���h���f���h���f���h���f���h���f���h�r���f���h�b���f���h	�R���f���h
�B���f���h�2���f���h�"���f���h
����f���h����f���h��f���h���f���h����f���h����f���h���f���h���f���h���f���h���f���h�r���f����%.NfD���%.MfD���%&MfD���%MfD���%MfD���%MfD���%MfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%�LfD���%~LfD���%vLfD��UH��AWL�=�LAVL�5�+AUL�-.ATI��S��H��8dH�%(H�E�1�H����ƅ���HDž����HDž����Dž���Dž���Dž����Dž���Dž����Dž����ƅ���ƅ���ƅ����ƅ���ƅ����ƅ���H�����fDL�����L��L��L��Dž��������A�ƒ���c�@���7wIcD�L�>���H�=�(D��1�������EDž���H�E�dH+%(��	�����H��8[A\A]A^A_]Ã�����\���@�����ƅ����E���DH��JH�8���H����-�����H������ƅ����
���D���������@H��JH�8�a���H����������H����������@���������@ƅ������@ƅ������@ƅ������@�������|���ƅ�����p���L�5JE1�A�9�|c���������������������H�=�'1��b���H�5V)H�=])1��M���1�������u���ƅ�������HcЃ�A�M�,�9�}�L�-4'�I�4�L��1�����A�Ic9�|��g	���������u�������SM���q�����������L��D����������D�������A����1�1������H�
AK�5CK�������tHi������H������H������L�-K1�H��t���I�uH�ȉ�H�� f��f��J��H��z���HDžt������|����t������	���I��H����H��H�޺����H�u��@L���U����L��L���e����<D��L�狝���������A�عL��L�������H�5(�-��������1ۃ��u�����C��F�L��L�%='������B��	��L���������P��L������L��L��1�H�=H(����D�������y�؉����H�=7(H��1��������������,���������Dž���c���������)�g���1��H��z���HDžt������|���H��t�����������D������ ���D�����H��I���H��H�޺D������&���L�-�HH�u�L��@����L��L������<D��L�狝������&���A�عL��L�������H�5�&���D���������������L��D���������������;D�����1�A�D�����A)�E��~3H�=8&1�����D��L��D����������DD�D��� ���L��L�%#%�����������������m����������Gf����������������t3��G�����C�������H�5�%�1��K�����������
{G�wGD������f��ȉ���H�� H	�E����\&1�H��A��H�����61�I����H��H���1�H���`�H�ȉ�1�H���<1�H��H��A��1�I��I��1�H��A��I���7E���.E��E��D���H�5%�1����D�������������؉lj����H�=(%H��1�������=�����������A�߅���D��������������������H�=�$����������H�=�"������H�=�!1��{������Dž������H�=q#1��T������p���H�=� 1��7����]���H�=� 1��$����J���D�����L��H�=:#H��1������7���1ҹ��H��L������H�=#H��1���������������H�=v!1�������L���g������L��H�=�#1�����s���L�������������
���L������ �����1ҾH��L���D���������H�=�"H��1��6���D�������������C��K���L��D������Y�������������D������H���L��D������Q���:���D��������H�xDL�c�;H���8�I9�u������L���\�������pH�=m 1����q��������tH�Ⱦ�1�H��H��H��H�5i"�1�����=���H�5v$H�=�!1����5�L�%� ���H�52$H�=w!1�����L�%� ������I��H�!!H�
�"��HD�H�5�!�1��E����H�5�!�1��-�����H�>H�5p!�H��1��
����D��1�I��^H��H���PTE1�1�H�=a��@�f.�H�=�BH��BH9�tH��@H��t	�����H�=�BH�5�BH)�H��H��?H��H�H�tH��@H��t��fD�����=uBu+UH�=r@H��tH�=�@�)��d����MB]������w����ω>�ff.�UH��+H�=�1��y�H�=�1��k�H�=L1�]�\�H�=
1��N�H�=�1�]�?���H��H���sg_timestamp examples:
It is possible that the target device containing a SCSI Logical Unit (LU)
has a battery (or supercapacitor) to keep its RTC (real time clock)
ticking during a power outage. More likely it doesn't and its RTC is
cleared to zero after a power cycle or hard reset.

Either way REPORT TIMESTAMP returns a 48 bit counter value whose unit is
a millisecond. A heuristic to determine if a date or elapsed time is
being returned is to choose a date like 1 January 2000 which is 30 years
after the Unix epoch (946,684,800,000 milliseconds) and values less than
that are elapsed times and greater are timestamps. Observing the TIMESTAMP
ORIGIN field of REPORT TIMESTAMP is a better method:

 $ sg_timestamp -o -N /dev/sg1
Device clock initialized to zero at power on or by hard reset
 $ sg_timestamp -oo -N /dev/sg1
0

 $ sg_timestamp /dev/sg1
3984499
 $ sg_timestamp --elapsed /dev/sg1
01:06:28.802

The last output indicates an elapsed time of 1 hour, 6 minutes and 28.802
seconds. Next set the clock to the current time:

 $ sg_timestamp --seconds=`date +%%s` /dev/sg1

 $ sg_timestamp -o -N /dev/sg1
Device clock initialized by SET TIMESTAMP command

Now show that as an elapsed time:

 $ sg_timestamp -e /dev/sg1
17652 days 20:53:22.545

That is over 48 years worth of days. Lets try again as a data-time
stamp in UTC:

 $ date -u -R --date=@`sg_timestamp -S /dev/sg1`
Tue, 01 May 2018 20:56:38 +0000
Usage: sg_timestamp  [--elapsed] [--help] [--hex] [--milliseconds=MS]
                     [--no-timestamp] [--origin] [--raw] [--readonly]
                     [--seconds=SECS] [--srep] [--verbose] [--version]
                     DEVICE
  where:
    --elapsed|-e       show time as '<n> days hh:mm:ss.xxx' where
                       '.xxx' is the remainder milliseconds. Don't show
                       '<n> days' if <n> is 0 (unless '-e' given twice)
    --help|-h          print out usage message, use twice for examples
    --hex|-H           output response in ASCII hexadecimal
    --milliseconds=MS|-m MS    set timestamp to MS milliseconds since
                               1970-01-01 00:00:00 UTC
    --no-timestamp|-N    suppress output of timestamp
    --origin|-o        show Report timestamp origin (def: don't)
                       used twice outputs value of field
                       0: power up or hard reset; 2: SET TIMESTAMP
    --raw|-r           output Report timestamp response to stdout in
                       binary
    --readonly|-R      open DEVICE read only (def: read/write)
    --seconds=SECS|-s SECS    set timestamp to SECS seconds since
                            1970-01-01 00:00:00 UTC
    --srep|-S          output Report timestamp in seconds (def:
                       milliseconds)
    --verbose|-v       increase verbosity
    --version|-V       print version string and exit

Performs a SCSI REPORT TIMESTAMP or SET TIMESTAMP command. The timestamp
is SET if either the --milliseconds=MS or --seconds=SECS option is given,
otherwise the existing timestamp is reported in milliseconds. The
DEVICE stores the timestamp as the number of milliseconds since power up
(or reset) or since 1970-01-01 00:00:00 UTC which also happens to
be the time 'epoch'of Unix machines.

Use '-hh' (the '-h' option twice) for examples.
bad argument to '--milliseconds=MS'
bad argument to '--seconds=SECS'
unrecognised option code 0x%x ??
Unexpected extra argument: %s
Not in DEBUG mode, so '-vV' has no special action
either --milliseconds=MS or --seconds=SECS may be given, not both
    set timestamp parameter list:
timestamp parameter data length too short, expect >= 10, got %d
Some error occurred, try again with '-v' or '-vv' for more information
initialized to zero at power on or by hard resetinitialized by SET TIMESTAMP commandReport timestampSet timestampehHm:NorRs:SvV1.14 20191220version: %s
missing device name!

open error: %s: %s
    Set timestamp cdb: %s
%s: out of memory
set timestamp    Report timestamp cdb: %s
report timestampParameter data returned:
Device clock %s
TIMESTAMP_ORIGIN=%d
%d day%s %02d:%02d:%02d.%03d
%lu
%s command not supported
%s command: %s
close error: %s
sg_timestamp failed: reserved [0x1]initialized by other methodreserved [0x4]reserved [0x5]reserved [0x6]reserved [0x7]elapsedhelphexmillisecondsno_timestampno-timestamporiginrawreadonlysrepverboseversion0������������������������������������������������������������������������������������������������������������������������0�������������������������������X��������@��sg_ll_set_timestampsg_ll_rep_timestamp;@���t���,������,��\���,���zRx����&D$4���FJw�?9*3$"\x��tp����H�� �D��QA�C
k
EX0����{E�C
B�I�I�I�D�F
A�`�>�@�>�@�@�@�@	A
 �\�\���o���
U�^@��	�	���o���op	���o�o.	���o�\0@P`p�������� 0@P`p���`Ae Ah%AH)Am6ANCANPAoWAr[AR.AsdASiAvqAV/usr/lib/debug/.dwz/x86_64-linux-gnu/sg3-utils.debug@e��枆���Jx�w��I˅4f4cad35580a42f3ad9e0395cc510c52c13100.debug��B�.shstrtab.interp.note.gnu.property.note.gnu.build-id.note.ABI-tag.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.got.plt.sec.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.data.rel.ro.dynamic.data.bss.gnu_debugaltlink.gnu_debuglink880&hh$9�� G���o��$Q��Y��Ua���o.	.	@n���op	p	P}�	�	��B��@��  ���������@@��  
�00���B�BD��B�B���\�L��\�L��\�L@ ��\�L��^�N`P� 	�a�Q  �QI ,R4`R/

Zerion Mini Shell 1.0