Mini Shell

Direktori : /bin/
Upload File :
Current File : //bin/sg_timestamp

ELF> @hY@8
@@@@��PP��000��pLp\p\p��L�\�\88800hhhDDS�td88800P�td�B�B�B<<Q�tdR�tdpLp\p\��/lib64/ld-linux-x86-64.so.2 GNU���GNUX���-j��6>�7=�ȋ�GNU ���3��	UA ���,go� ���Utg���, ��F"�{b��a_ITM_deregisterTMCloneTable__gmon_start___ITM_registerTMCloneTable__cxa_finalize__libc_start_mainpr2serrgetopt_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_cmds_close_deviceset_scsi_pt_data_inget_scsi_pt_resid__printf_chksg_convert_errnosg_if_can2stderrsafe_strerrorsg_get_command_strhex2stderrget_scsi_pt_transport_errsg_get_category_sense_strget_scsi_pt_os_errputchar__stack_chk_faillibsgutils2-1.47.so.2libc.so.6GLIBC_2.3.4GLIBC_2.4GLIBC_2.34GLIBC_2.2.58ti	Bii
N���Xui	cp\ x\��\�\�\�>�\�@�\�>�\�@�\�@�\�@�\�@�\	A `A@` A``%A�`)A�`6A�`CA�`PAaWA a[A@a.A`adA�aiA�aqA�_�_�_�_�_�a b�^____ _(_	0_
8_@_H_
P_X_`_h_p_x_�_�_�_�_�_�_�_�_�_��H��H��OH��t��H����5�N�%�N��h�������h��������h�������h�������h�������h�������h�������h��q������h��a������h	��Q������h
��A������h��1������h��!������h
��������h��������h������h�������h��������h�������h�������h�������h�������h�������h��q������h��a������h��Q�������%MD���%MD���%
MD���%MD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%�LD���%}LD���%uLD���%mLD���%eLD���%]LD���%ULD��AWL�=�LAVL�5�+AUATL�%�-UH��S��H��(dH�%(H��$1��D$L�l$<H�D$H�D$ �$�D$(�D$�D$�D$�D$�D$�D$-�D$.�D$,�D$/�D$DM��L��L��H����D$<�%���A�ƒ���E�@���7wIc�L�>���H�=�(D��1�������A�H��$dH+%(��	H��(D��[]A\A]A^A_��D$�f���fD�D$(�V���fD�D$�D$�A����H�=M����H������$H�D$ �D$-������D$����fD�D$,���fD�D$���fDH�=�L�d���H����|�$H�D$���@�D$���fD�D$����D$.����NLE1�9�|V�|$�O�|$���|$��H�=�'1����H�5|)H�=�)1�E1��p�������D$/�1���HcЃ�L�d���K9�}�L�%]'H�L��H�t�1��4�����K����K9�|ܿ��	�=����|$u��<$�MM���g�\$�t$.L��D�T$������D�T$������L�5�K1���<$L����h�|$-tHiD$ �H�D$H�L$H�5iKf�L��$�H�ȉϹH�� f��f�BK1��'	H��$�)�$�H��$��HDŽ$��DŽ$����|$������I��H���HH�ǺL������H��$��@L������L��L������\$�<��L��������M��A�ع��H�5!(L���j�������1�����L��������i����Ņ���E1�|$��E�������A�c����|$E1��!�}����$f�H��$��)�$�H��$�L��$��HDŽ$��DŽ$���|$�
D�$���D�$H��I����H�ǺL��D�$����H��$��@L���P����L��L���@����\$�<��L��������M��A�ع��H�5'L���/���D�$����@�����L��D�$����|$D�$~A�A)�E����L���x����|$/���|$(����Hf���������D$��t1��H�������|$�cH�5�&�1��R����|$,�'���D��H�H�|$fA��ȉ�E��I�� I	����?�\&1�L����H���61�H��A��L��H��1�H��`�L��A��1�H��<1�H��L��A��1�H��I��1�H���H���~���vE��A��D��D��H�5�%�1�����e����݅������d���A���`���D��H�=&������T���H�=�#����C���H�=#1�A������f����H�=�$1�����]���H�="1��p������H�=,"1��]������������L��H�=t$H��1��=����M���1�L�D$@��L�����H�=Y$H��1������|$���H�=�"1�������L���������D�d$<A�D$��5���L��L�-�#����E���%���A��	udH�=�$1�L��������w����������؉��6���H�=�$H��1��u�����L�����L���������L�-#A�#�L$L�t$@�PD��L������L��L��1�H�=M$����������Ņ�������݉����H�=7$H��1���E���n������L�D$@��1�L��D�$���H�=>#H��1����D�$���D�d$<A�D$��B���L��D�$����|$~A�D�$A)�E�� L��L�-G"���E��������1���E1�H�=�"1�D�$�D���D�$D��L���|$�DD�D�������L���:���D�$���L��D�$�r����|$D�$~A�A)�E����L��L�-�!A�#� �������݉��r���H�=�"H��1�������'��� ���A������H�aDL�c�;H����I9�u������L���E��������pH�=6 1��O�����|$tL����1�H��I��L��H�54"�1������A�#���L������~�D�$A���W���H�5$H�=@!1�A�����L�-� �����H�5�#H�=!1�A����L�-u �X���H��H�|"D�ʿH�
� H�5n!HE�1����Y���H�5S!�1�������H��=HcҿH��H�5!1�����r���@��1�I��^H��H���PTE1�1�H�=1��@�f.�H�=�BH��BH9�tH�f@H��t	�����H�=YBH�5RBH)�H��H��?H��H�H�tH�5@H��t��fD�����==Bu+UH�=@H��tH�=�<�i��d����B]������w����ω>�ff.�H����+H�=h1���H�=J1���H�=�1�Z��H�=�1����H�=_1�Y�����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 commandSet timestampReport timestampehHm:NorRs:SvV1.14 20210830version: %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�����������������������������e��`��������P��sg_ll_set_timestampsg_ll_rep_timestamp;8���l<����������T|�������zRx�0��&D$4���FJw�?:*3$"\����t�������QDk
EXL�����F�I�I �B(�H0�D8�I�
8D0A(B BBBD ��\�>�@�>�@�@�@�@	A"8
t p\x\���o���
o�^p��	�	���o���o�	���o�o`	���o�\0@P`p�������� 0@P`p�����Ae Ah%AH)Am6ANCANPAoWAr[AR.AsdASiAvqAVGA$3a1FGA$3g1073pq GA* GA$annobin gcc 11.3.1 20220421GA$plugin name: annobin GA$running gcc 11.3.1 20220421	GA*GA*GA!
GA*FORTIFY�GA+GLIBCXX_ASSERTIONSGA*GOWjGA*cf_protectionGA+omit_frame_pointerGA+stack_clashGA$3a1P� 
GA*FORTIFY� q GA+GLIBCXX_ASSERTIONSsg_timestamp-1.47-9.el9.x86_64.debug΢�@�7zXZ�ִF!t/��'�]?�E�h=��ڊ�2N�.򑱎,O�wY�혼��#H�`����D��
��yS^��'P�s(�d,�܅\���'�Q8'�u�l�Ԗ����ԣt�9	��|l[O%4�:�����c��A���rT��R��|�4���Z60������^/��ͪ��|T�FH �8�]����N���:�c�iJ,�S�Lg������o���&ϖ���a)�Hxe� I���$��7+�:6����b-_9�X�ϰ~�r��
.�{��Z�m��8G10�T?�����tf^ ��l-����HٌF��x��X/%�� _�^�����x�z�6f��؇]s(�o�nb�Gc��vnZ~u�"�i�I7Y��m����
��w��Đ�VC�f ��UH`��}�36���`���-��&a�I�����`��6��s�m�Ԥ���тG~V�B�+��v�D�N�c���J�l��ݹ���S�?���O��EIN�:���A����-}��.�BV�"��0��N��#Bhh�ؤzh�i�xs��rA�Ϯ�A��&$P��B�)�9��Si�ax�Q>��m���`�A��dy��Q#���m�ò�[�Xņ��	��,Y�xZ:�c�6����c�@%�%cʔ�&��*�V�T1t��_E�����𲸺|�顝޸�\
����DLP*t�G�S�����!{W���P�(��#��A̖��jW
��l�|��t3�*;ȟp��;c��UO�$m�'���\�������ᳵ5����������ޒ�m1����@C�mgbqpNz��(b���1����$���-����������p��-q��T�o�Aw�����H�2�-�m`?	�gn�'�'�M.z*�� ��6���g�YZ.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.sec.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.data.rel.ro.dynamic.got.data.bss.gnu.build.attributes.gnu_debuglink.gnu_debugdata880&hh$9�� G���o��(Q��Y��oa���o`	`	Bn���o�	�	P}�	�	��B��p��  ������pp
�t t 
�00���B�B<��B�B��p\pL�x\xL��\�L` ��\�L��^�N�`P� �a�Q@ 
 ��QL ,T,/XT�$X>

Zerion Mini Shell 1.0