198 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
More on Elasticsearch, Logstash and Kibana (ELK)
Fri, Oct 20th 2017 26
Zipping and Tarring on macOS - with added funkiness
Thu, Oct 19th 2017 28
IBM BPM and Elasticsearch - with added TLS
Thu, Oct 19th 2017 27
Apple Watch - go, no go, go
Mon, Oct 16th 2017 125
IBM Cloud Private - My first foray
Mon, Oct 16th 2017 101
Ubuntu - Software Updater and the Insufficient Disk Space
Mon, Oct 16th 2017 62
Git and Jenkins - Learning Resources
Fri, Oct 13th 2017 57
Top 10
Apple Watch - go, no go, go
Mon, Oct 16th 2017 125
IBM Cloud Private - My first foray
Mon, Oct 16th 2017 101
Ubuntu - Software Updater and the Insufficient Disk Space
Mon, Oct 16th 2017 62
Git and Jenkins - Learning Resources
Fri, Oct 13th 2017 57
Jenkins to Git - SSH says "No"
Fri, Oct 13th 2017 52
Transport Layer Security (TLS) 1.2 and SoapUI
Fri, Jun 12th 2015 48
Learning Times - Or Git being a bit of a Git
Fri, Oct 13th 2017 46
Executing external Python/Jython scripts from within WebSphere Application Server's wsadmin tool
Thu, Feb 27th 2014 42
IBM HTTP Server - Checking Personal Certificates
Wed, Oct 11th 2017 42
IBM HTTP Server - Tinkering with CMS Keystore Passwords
Wed, Oct 11th 2017 37


Tail on Unix - Why did I not know about this ?
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

Years ago, I wrote this: -


which referenced back to a podcast upon which I appeared in 2010 ….

This was all about using a 3rd party binary to allow me to view multiple log files in a single window ...

And yet, last week, I noticed a client using the stock version of tail to achieve precisely the same outcome.

So, whereas I was reduced to doing this ( without Multitail ): -

tail -f /opt/ibm/WebSphereProfiles/AppSrv01/logs/AppClusterMember1/SystemOut.log
tail -f /opt/ibm/WebSphereProfiles/AppSrv01/logs/SupClusterMember1/SystemOut.log
tail -f /opt/ibm/WebSphereProfiles/AppSrv01/logs/MEClusterMember1/SystemOut.log


I realised that I can do this: -

tail -f /opt/ibm/WebSphereProfiles/AppSrv01/logs/AppClusterMember1/SystemOut.log /opt/ibm/WebSphereProfiles/AppSrv01/logs/SupClusterMember1/SystemOut.log /opt/ibm/WebSphereProfiles/AppSrv01/logs/MEClusterMember1/SystemOut.log

and see this: -

==> /opt/ibm/WebSphereProfiles/AppSrv01/logs/AppClusterMember1/SystemOut.log <==
[09/10/17 13:48:11:718 BST] 00000171 AbstractReque W com.ibm.wps.resolver.resource.AbstractRequestDispatcherFactory matchesWebAppDefault(aResource) Servlet context [/BSpaceWidgetsHM] does not specify a blackwhite list when accessing resource [iWidget/widgets/hm/HM_iwidget.xml], falling back to the default [[(null), (WEB-INF/.*)]]. Applications can define a custom list by adding the keys [com.ibm.portal.resource.whitelist] and [com.ibm.portal.resource.blacklist] to their web.xml deployment descriptor. For details see information for APAR PI47714 related to CVE-2014-8912.
[09/10/17 13:48:12:677 BST] 00000171               I com.ibm.mm.framework.persistence.OOBSpaceCreator importOOBSpaces BMWFP0059I: The standard spaces have finished loading. 
[09/10/17 13:48:24:798 BST] 0000013d TaskLoader    I   CWLLG0597I: Trying to acquire synchronous queue SYNC_QUEUE_2.
[09/10/17 13:48:24:799 BST] 0000013d TaskLoader    I   CWLLG0581I: Acquired synchronous queue SYNC_QUEUE_2.
[09/10/17 13:48:40:694 BST] 0000013d TaskLoader    I   CWLLG0597I: Trying to acquire synchronous queue SYNC_QUEUE_3.
[09/10/17 13:48:40:695 BST] 0000013d TaskLoader    I   CWLLG0581I: Acquired synchronous queue SYNC_QUEUE_3.
[09/10/17 13:49:37:852 BST] 00000104 ArtifactIndex I com.ibm.bpm.index.core.impl.AdvancedIndexer updateIndex Log:There is no index to update. Starting a full index.
[09/10/17 13:49:37:853 BST] 00000104 ArtifactIndex I com.ibm.bpm.index.core.impl.AdvancedIndexer createIndex Entry: createIndex()
[09/10/17 13:49:44:804 BST] 00000104 ArtifactIndex I com.ibm.bpm.index.core.impl.AdvancedIndexer createIndex Log:Indexing elapsed time:6950
[09/10/17 13:49:44:805 BST] 00000104 ArtifactIndex I com.ibm.bpm.index.core.impl.AdvancedIndexer createIndex Exit: createIndex()

==> /opt/ibm/WebSphereProfiles/AppSrv01/logs/SupClusterMember1/SystemOut.log <==
[09/10/17 13:46:44:121 BST] 000000b0 authz         I   CWWIM2000I Initialization of the authorization component completed successfully.
[09/10/17 13:46:44:453 BST] 000000b0 InternalGener I   DSRA8225I: DataSource JNDI name : jdbc/TeamWorksDB
[09/10/17 13:46:44:455 BST] 000000b0 InternalGener I   DSRA8203I: Database product name : DB2/LINUXX8664
[09/10/17 13:46:44:456 BST] 000000b0 InternalGener I   DSRA8204I: Database product version : SQL11012
[09/10/17 13:46:44:457 BST] 000000b0 InternalGener I   DSRA8205I: JDBC driver name  : IBM Data Server Driver for JDBC and SQLJ
[09/10/17 13:46:44:458 BST] 000000b0 InternalGener I   DSRA8206I: JDBC driver version  : 4.21.29
[09/10/17 13:46:44:459 BST] 000000b0 InternalGener I   DSRA8218I: JDBC driver specification level  : 4.1
[09/10/17 13:46:44:459 BST] 000000b0 InternalDB2Un I   DSRA8212I: DataStoreHelper name is: com.ibm.websphere.rsadapter.DB2UniversalDataStoreHelper@59060d67.
[09/10/17 13:46:44:460 BST] 000000b0 WSRdbDataSour I   DSRA8208I: JDBC driver type  : 4
[09/10/17 13:47:54:712 BST] 0000005a NGUtil$Server I   ASND0002I: Detected server AppClusterMember1 started on node Node1

==> /opt/ibm/WebSphereProfiles/AppSrv01/logs/MEClusterMember1/SystemOut.log <==
[09/10/17 13:45:49:893 BST] 00000041 CoordinatorIm I   HMGR0228I: The Coordinator is not an Active Coordinator for core group DefaultCoreGroup. The active coordinator set is [PCCell1Dmgrdmgr].
[09/10/17 13:45:49:895 BST] 00000041 CoordinatorIm I   HMGR0218I: A new core group view has been installed. The core group is DefaultCoreGroup. The view identifier is (5:0.PCCell1Dmgrdmgr). The number of members in the new view is 5.
[09/10/17 13:45:49:897 BST] 00000041 CoreGroupMemb I   DCSV8050I: DCS Stack DefaultCoreGroup at Member PCCell1Node1MEClusterMember1: New view installed, identifier (5:0.PCCell1Dmgrdmgr), view size is 5 (AV=5, CD=5, CN=5, DF=5)
[09/10/17 13:45:50:003 BST] 00000050 ViewReceiver  I   DCSV1033I: DCS Stack DefaultCoreGroup at Member PCCell1Node1MEClusterMember1: Confirmed all new view members in view identifier (5:0.PCCell1Dmgrdmgr). View channel type is View|Ptp.
[09/10/17 13:46:13:635 BST] 00000059 NGUtil$Server I   ASND0002I: Detected server SupClusterMember1 started on node Node1
[09/10/17 13:46:16:666 BST] 000000c2 SibMessage    W   [:] CWSIP0181W: The maximum batch size for the consumer on destination DataDefLoaderQueueDestinationSupCluster, has been set to 1.
[09/10/17 13:46:16:667 BST] 000000c2 SibTr$Suppres I   CWSIU0006I: Future occurences of "CWSIP0181W: The maximum batch size for the consumer on destination DataDefLoaderQueueDestinationSupCluster, has been set to 1." will be suppressed.
[09/10/17 13:46:16:938 BST] 000000c2 SibMessage    W   [:] CWSIP0181W: The maximum batch size for the consumer on destination RepresentationManagerQueueDestinationSupCluster, has been set to 1.
[09/10/17 13:46:16:939 BST] 000000c2 SibTr$Suppres I   CWSIU0006I: Future occurences of "CWSIP0181W: The maximum batch size for the consumer on destination RepresentationManagerQueueDestinationSupCluster, has been set to 1." will be suppressed.
[09/10/17 13:47:54:697 BST] 00000059 NGUtil$Server I   ASND0002I: Detected server AppClusterMember1 started on node Node1


Why didn't I know this ?

Ah, well, every day IS a school day



---------------------
http://portal2portal.blogspot.com/2017/10/tail-on-unix-why-did-i-not-know-about.html
Oct 09, 2017
25 hits



Recent Blog Posts
26
More on Elasticsearch, Logstash and Kibana (ELK)
Fri, Oct 20th 2017 10:28a   Dave Hay
Following earlier posts: -Tinkering with Elasticsearch and Kibana - on Docker, of courseFurther stories of a tinkerer - this time it's IBM BPM, Apache Kibana and ElasticsearchIBM BPM and Elasticsearch - with added TLSI've had a brief play with a new ( to me ) Docker image, ELK: -sebp/elkCollect, search and visualise log data with Elasticsearch, Logstash, and Kibana.using this documentation: -Elasticsearch, Logstash, Kibana (ELK) Docker image documentationThis time around, I built it using Dock
28
Zipping and Tarring on macOS - with added funkiness
Thu, Oct 19th 2017 5:41p   Dave Hay
So I had a specific requirement yesterday - I wanted to extract three specific files from a ZIP file.This is what I had: -unzip -l certificate-bundle.zipArchive: certificate-bundle.zip Length Date Time Name--------- ---------- ----- ---- 0 10-19-2017 16:58 ca/ 1310 10-19-2017 16:58 ca/ca.crt 1679 10-19-2017 16:58 ca/ca.key 0 10-19-2017 16:58 node1/ 1379 10-19-2017 16:58 node1/node1.crt 1679 10-19-2017 16:58 node1/node1.key---------
27
IBM BPM and Elasticsearch - with added TLS
Thu, Oct 19th 2017 5:29p   Dave Hay
Following this: -Tinkering with Elasticsearch and Kibana - on Docker, of courseFurther stories of a tinkerer - this time it's IBM BPM, Apache Kibana and ElasticsearchI've been tinkering further with Elasticsearch on Docker, establishing a TLS connection between it and IBM BPM.Here's my notes: -Pull Imagedocker pull docker.elastic.co/elasticsearch/elasticsearch:5.6.3Start containeres=`docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elas
125
Apple Watch - go, no go, go
Mon, Oct 16th 2017 3:29p   Dave Hay
So I had a weird experience last evening, and not in a good way.For no apparent reason, this was my Apple Watch: -and this: -I have no earthly idea what happened.So, being a true nerd, and a big fan of The IT Crowd, I decided to ( all together now ) TURN IT OFF AND ON AGAIN ….Obviously I couldn't read the display, what with it being all garbled n' all, so I just hit the big button on the right-hand side, below the digital crown and chose the appropriate gibberish - it was the one in red, so
101
IBM Cloud Private - My first foray
Mon, Oct 16th 2017 10:37a   Dave Hay
So this week, along with many other things, I'm starting to get to grips with the newly announced IBM Cloud Private: - IBM brings the power of cloud behind the enterprise firewall I'm running on Ubuntu Linux: - lsb_release -a No LSB modules are available. Distributor ID:    Ubuntu Description:    Ubuntu 16.04.3 LTS Release:    16.04 Codename:    xenial so started by installing the pre-requisites of VirtualBox and Vagrant: - sudo apt-get install virtualbox su
62
Ubuntu - Software Updater and the Insufficient Disk Space
Mon, Oct 16th 2017 8:13a   Dave Hay
So I'm trying to update Ubuntu 16.0.4.3 LTS using Software Updater, but couldn't get past this: -      Now I have LOADS of disk space: - df -kmh Filesystem                   Size  Used Avail Use% Mounted on udev                          16G     0   16G   0% /dev tmpfs                        3.2G  9.4M  3.2G   1% /run /dev/mapper/ubuntu--vg-root  2.7T  346G  2.2T  14% / tmpfs               
57
Git and Jenkins - Learning Resources
Fri, Oct 13th 2017 10:35a   Dave Hay
This is what I've been reading and using over the past few days: -git-server-dockerHow to Setup Git Repository and Credentials for Jenkins Jobs.ssh/id_rsa failed: permission deniedMy simply Git Cheatsheet4.2 Git on the Server - Getting Git on a Server2.5 Git Basics - Working with Remotes'Your branch is ahead of 'origin/master' by 1 commit' on explicit push [duplicate]Unable to push to repositorycannot push into git repositoryJenkins TutorialIBM WebSphere Liberty ConfigurationDeploying with
52
Jenkins to Git - SSH says "No"
Fri, Oct 13th 2017 10:28a   Dave Hay
As per my earlier post: -Learning Times - Or Git being a bit of a GitI'm on a voyage of discovery with Jenkins and Git.Whilst trying to plumb onto into t'other, I was hitting a blocker.To recap, I have Jenkins installed on my MacBook, running locally, and I have Git running on a Docker container on a remote Mac.Therefore, I'm connecting to the remote Git repository using SSH rather than, say, HTTPS or a local file-system.This works OK for me using Git commands such as: -git clone ssh://git@19
46
Learning Times - Or Git being a bit of a Git
Fri, Oct 13th 2017 9:56a   Dave Hay
I'm on a bit of a voyage of discovery this week, having previously been tinkering with Elasticsearch and Kibana a few days back: -Further stories of a tinkerer - this time it's IBM BPM, Apache Kibana and ElasticsearchNow I'm playing with Jenkins and Git, the latter of which is running on Docker, with the intention of automating the push of Java code to WebSphere Liberty Profile, also running in Docker.I also intend to get to grips with Maven at the same time, what's not to like ?Anyway, back
42
IBM HTTP Server - Checking Personal Certificates
Wed, Oct 11th 2017 3:54p   Dave Hay
Whilst on the subject of IBM HTTP Server (IHS), as per an earlier post: -IBM HTTP Server - Tinkering with CMS Keystore PasswordsI was "auditing" the SSL certificate that I'm using for IHS, specifically the signature algorithm.So I have a single certificate in the key store: -/opt/IBM/HTTPServer/bin/gskcapicmd -cert -list -db /opt/IBM/HTTPServer/APIC/ssl/keystore.kdb -pw passw0rdCertificates found* default, - personal, ! trusted, # secret key*- wlpn.uk.ibm.comwhich I validated as follows: -/op




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition