Sponsored Content
Full Discussion: Dmesg with date possible?
Operating Systems HP-UX Dmesg with date possible? Post 302893376 by System on Wednesday 19th of March 2014 02:17:34 AM
Old 03-19-2014
Now there are no new messages shown. Here's an example.
Code:
# dmesg
0/0/0/10/0/0/1.0x5006016930201d6b.0x400d000000000000 eslpt
0/0/0/10/0/0/0.0x5006016930201d6b.0x400e000000000000 eslpt
0/0/0/10/0/0/1.0x5006016930201d6b.0x400e000000000000 eslpt
0/0/0/10/0/0/0.0x5006016930201d6b.0x4014000000000000 eslpt
0/0/0/10/0/0/1.0x5006016930201d6b.0x4014000000000000 eslpt
0/0/0/10/0/0/0.1.3.255.0 fcd_vbus
0/0/0/10/0/0/0.1.3.253.0.0 tgt
0/0/0/10/0/0/1.2.3.255.0 fcd_vbus
0/0/0/10/0/0/0.1.3.253.0.0.0 sctl
0/0/0/10/0/0/1.2.3.253.0.0 tgt
0/0/0/10/0/0/1.2.3.253.0.0.0 sctl
0/0/0/10/0/0/0.1.3.0.0 fcd_vbus
0/0/0/10/0/0/0.1.3.0.0.0 tgt
0/0/0/10/0/0/0.1.3.0.0.0.1 sdisk
0/0/0/10/0/0/1.2.3.0.0 fcd_vbus
0/0/0/10/0/0/1.2.3.0.0.0 tgt
0/0/0/10/0/0/1.2.3.0.0.0.1 sdisk
0/0/0/10/0/0/0.1.3.0.0.0.2 sdisk

There's no need to have a date here but sometimes we have problems after one or two weeks so it would be very helpful to have a date in this situation.



Quote:
Originally Posted by vbe
look at the man pages!
Quote:
Originally Posted by System
man dmesg is also not helpful
;-(

Last edited by Franklin52; 03-19-2014 at 03:59 AM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sun dmesg says

Oct 22 13:40:07 snmpdx: community_check() : bad community from Oct 22 13:40:07 snmpdx: session_open() failed for a pdu received from any help? thanks (4 Replies)
Discussion started by: yls177
4 Replies

2. UNIX for Dummies Questions & Answers

dmesg freebsd

hey,i use freeBSD 4.7stable, dmesg returns me a tons of info like: ax R *Handler Int 16 aio_max R *Handler Int 17 aio_prio_delta_max R *Handler Int 18 delaytimer_max R *Handler Int 19 mq_open_max R *Handler Int 20 pagesize R *Handler Int 21 rtsig_max R *Handler Int... (6 Replies)
Discussion started by: hachik
6 Replies

3. UNIX for Dummies Questions & Answers

dmesg error

hi, when i do a "dmesg" command, i saw many of this message appeared. Nov 12 07:00:20 catty graph_ftp: graph_ftp ftp faild it seems like it has some problems with my gftp application? pls tell me what's wrong and how to solve it. thanks alot. (1 Reply)
Discussion started by: champion
1 Replies

4. IP Networking

dmesg error

Oct 8 05:01:48 servername raid: Sense=7000060000000098000000003FD8000000000000000000000000000000000000000000000008380 00000000000000000000000FF0F053154303338343333353320202020202003010300000000000000000000000000000000000000000000000000000... (1 Reply)
Discussion started by: yls177
1 Replies

5. HP-UX

dmesg error ??

Hi all, I have a very weard error message in my dmesg output, and I cannot find the solution in google. Does anyone know what it might be ? Equivalently mapped reserve pool exhausted; Overall application performance may be improved by increasing the "eqmemsize" tunable parameter (currently... (3 Replies)
Discussion started by: davidg
3 Replies

6. Slackware

Printer (dmesg) error

I am setting up a printer for a friend. I've built the box using (Gnu/Linux), Slackware-current, Kernel 2.6.7. I have the same setup. Currently the only way I have access to my friends machine is across the Internet via SSH, so I'm unable to manually check cabling at the moment. On my Slackware... (0 Replies)
Discussion started by: locustfurnace
0 Replies

7. Linux

dmesg error

hi all, this is my permenent error.how to clear this error permenently... please help me out. here is my error output. please tell me clearly as i am very new to Linux(beginner) hda: packet command error: status=0x51 { DriveReady SeekComplete Error } hda: packet command error:... (2 Replies)
Discussion started by: rrlog
2 Replies

8. BSD

dmesg giving errors

When running dmesg, the output is a long list of the following: ACPI Error: No object attached to node 0xffffff00016622e0 20090521 exresnte-211 ACPI Error (uteval-0329): Method execution failed (Node 0xffffff00016622e0), AE_AML_NO_OPERAND As a workaround I resort to sysctl, which gives... (0 Replies)
Discussion started by: figaro
0 Replies

9. Red Hat

Dmesg with Date and Time

Dear All, I am looking to enable Date and time in dmesg output for for centos 5.8. Unfortunately the current version doesn't support -T option. Also i am looking for solutions which can enable the date& time via kernal or updating the dmesg utility. or maybe via single command line. ... (3 Replies)
Discussion started by: pistachio
3 Replies

10. Red Hat

Dmesg errors

Dear All , Very recently I find there are a lot of I/O errors in our Red HAt Linux Server. Pl find the below end_request: I/O error, dev sdcp, sector 0 sd 7:0:0:32784: SCSI error: return code = 0x00010000 end_request: I/O error, dev sdn, sector 0 sd 7:0:0:33289: SCSI error: return... (7 Replies)
Discussion started by: jegaraman
7 Replies
it_tgt_create(3ISCSIT)					iSCSI Management Library Functions				    it_tgt_create(3ISCSIT)

NAME
it_tgt_create, it_tgt_setprop, it_tgt_delete, it_tpgt_create, it_tpgt_delete, it_tgt_free, it_tpgt_free - create, modify and delete iSCSI Targets SYNOPSIS
cc [ flag... ] file... -liscsit [ library... ] #include <libiscsit.h> int it_tgt_create(it_config_t **cfg, it_tgt_t **tgt, char *tgt_name); int it_tgt_setprop(it_config_t *cfg it_tgt_t *tgt, nvlist_t *proplist, nvlist_t **errlist); int it_tgt_delete(it_config_t *cfg, it_tgt_t *tgt, boolean_t force); int it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t **tpgt, char *tpg_name, uint16_t tpgt_tag); void it_tpgt_delete(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t *tpgt); void it_tgt_free(it_tgt_t *tgt); void it_tpgt_free(it_tpgt_t *tpgt); PARAMETERS
cfg a pointer to the iSCSI configuration structure tgt a pointer to an iSCSI target structure tgt_name the target node name for the target to be created. The name must be in either IQN or EUI format. If this value is NULL, a node name will be generated automatically in IQN format. proplist a pointer to an nvlist_t containing the target properties to be set errlist an optional pointer to an nvlist_t that will be used to store specific errors (if any) when validating target properties force a boolean value indicating if the target should be set to offline before removing it from the configuration. If not specified, the operation will fail if the target is determined to be online tpgt a pointer to a target portal group tag structure tpgt_name the name of the target portal group to be associated with this target portal group tag tpgt_tag a 16-bit numerical identifier for this target portal group tag. Valid values are 2 through 65535. If tpgt_tag is '0', it_tpgt_create() will assign an appropriate tag number. If tpgt_tag is != 0, and the requested tag number is unavailable, another value will be chosen. DESCRIPTION
The it_tgt_create() function allocates and creates an it_tgt_t structure representing a new iSCSI target node. If tgt_name is NULL, then a unique target node name will be generated automatically. Otherwise, the value of tgt_name will be used as the target node name. The new it_tgt_t structure is added to the target list (cfg_tgt_list) in the configuration structure. The it_tgt_setprop() function validates the provided property list and sets the properties for the specified target. If errlist is not NULL, this function returns detailed errors for each property that failed. The format for errlist is key = property, value = error string. The it_tgt_delete() function removes the target represented by tgt from the configuration. The tgt argument is an existing it_tgt_t struc- ture within the configuration cfg. The it_tpgt_create() function allocates and creates an it_tpgt_t structure representing a new iSCSI target portal group tag. The new it_tpgt_t structure is added to the target tpgt list (tgt_tpgt_list) in the it_tgt_t structure. The it_tpgt_delete() function removes the target portal group tag represented by tpgt, from the configuration. The tpgt argument is an existing is_tpgt_t structure within the target tgt. The it_tgt_free() function frees an it_tgt_t structure. If tgt->next is not NULL, this function frees all structures in the list. The it_tpgt_free() function deallocates resources of an it_tpgt_t structure. If tpgt->next is not NULL, this function frees all members of the list. Configuration changes as a result of these functions are not instantiated until the modified configuration is committed by calling it_con- fig_commit(3ISCSIT). Target nvlist properties are as follows: nvlist Key Type Valid Values ------------------------------------------------------------------- targetchapuser string any string, or none to remove targetchapsecret string string of at least 12 characters but not more than 255 characters. secret will be base64 encoded when stored. alias string any string or none to remove auth string radius, chap, or none RETURN VALUES
The it_tgt_create(), it_tgt_setprop(), it_tgt_delete(), it_tpgt_create(), and it_tpgt_delete() functions return 0 on success and an error value on failure. ERRORS
The it_tgt_create(), it_tgt_setprop(), it_tgt_delete(), it_tpgt_create(), and it_tpgt_delete() functions will fail if: E2BIG All tag numbers are already in use. EBUSY The target is online. EEXIST The requested target node name is already configured. EINVAL A parameter or property is invalid. ENOMEM Resources could not be allocated. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
it_config_commit(3ISCSIT), it_ini_create(3ISCSIT), it_portal_create(3ISCSIT), it_tpg_create(3ISCSIT), libiscsit(3LIB), libnvpair(3LIB), libstmf(3LIB), attributes(5) SunOS 5.11 1 Oct 2008 it_tgt_create(3ISCSIT)
All times are GMT -4. The time now is 02:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy