Search Results

Search: Posts Made By: simpsa27
3,272
Posted By simpsa27
Hi Neo I'm based in the UK are you able to...
Hi Neo

I'm based in the UK are you able to provide the link
3,272
Posted By simpsa27
UNIX server
Hi,

I have used UNIX for quite a while now, but want to do some stuff personal, training etc. I have putty on my machine but not a server. Might sound silly but was wondering is their away online...
Forum: Web Development 11-12-2019
5,726
Posted By simpsa27
Yes all works good & I understand! Thanks for...
Yes all works good & I understand! Thanks for your help guys!
Forum: Web Development 11-12-2019
5,726
Posted By simpsa27
if (response.getStatusCode() != 200) { ...
if (response.getStatusCode() != 200) {
api.fail("HTTP error: " + response.getStatusCode());
} else {
var responseBody = response.getResponseBody();
var jsonData = JSON.parse(responseBody);
var...
Forum: Web Development 11-12-2019
5,726
Posted By simpsa27
Hi Neo! Thank you for your response!. I...
Hi Neo!

Thank you for your response!. I understand what you are saying & makes sense. Thanks very much. My only issue is that the value "event ID" is dynamic & runs through an API so I don't run...
Forum: Web Development 11-11-2019
5,726
Posted By simpsa27
JavaScript code - UNIX grep?
Hi

I am new to JavaScript & haven't done much work with it, but have mainly experience with UNIX. I have a piece of code where I want to grep (excuse the UNIX language :D) for a id and get the...
1,660
Posted By simpsa27
Came back with a count of 55 which is correct. ...
Came back with a count of 55 which is correct.

--- Post updated at 04:58 PM ---

What about if I want to print a list of the words that begin with S as when i do it without wc -l it comes up...
1,660
Posted By simpsa27
Hey VBE I want to run so it reads the whole...
Hey VBE

I want to run so it reads the whole script and prints out the words which start with S or s - what would I edit to do that? I assume I wouldn't use wc -l either?
1,660
Posted By simpsa27
View a file and count all words beginning with specificletter
I am trying to write a command and need to count all the words within the file which begin with the letter S

I have run this command
[casupport@docvlapph005 ca]$ grep '^[s]' TheAgileApproach.dat...
2,842
Posted By simpsa27
Thanks :)
Thanks :)
2,842
Posted By simpsa27
Can't grep for warning in log file
Hi

Can't see what I am doing wrong here:

Trying to view a log file and grep for WARNING but keep getting the following error:
[casupport@docvlapph005 ca]$ view datasource.log | grep WARN...
1,195
Posted By simpsa27
Are you able to explain this code to me not sure...
Are you able to explain this code to me not sure I understand it fully?
1,195
Posted By simpsa27
Average result of text file
Hi all

I have created a script to allow me to gain a number of file times and how long they take to execute. I have been asked to get the average time for the log. The log will update every 5...
1,700
Posted By simpsa27
Requirement no longer needed. Will close ...
Requirement no longer needed. Will close

Thanks
1,700
Posted By simpsa27
Fantastic! What was I doing wrong? ...
Fantastic!

What was I doing wrong?

logdir='/opt/product/apachetomcat/8080/8.5.5_8080/apache-tomcat-8.5.5/logs'
cd "$logdir"

last_install=`sort -rn $(ls -c localhost_access_log.*.txt | head...
1,700
Posted By simpsa27
Cd to another directory to view a log file
Hi guys

Today I have been working on a script to execute to view entries within a log file.

I have successfully got the command I want to execute within the script itself. I want to view the...
3,011
Posted By simpsa27
Hi R.Singh So above we can see a list of...
Hi R.Singh

So above we can see a list of process so I have been asked to get the average time of all process are taking. Simply adding up all the times & dividing it by how many there are. The...
3,011
Posted By simpsa27
Processes running response time
Hi All

I have been asked to write scripts within our monitoring tool for a vast requirement set.

One of the requirements is below:
• Lowest, Highest & Average response times of the Documentum...
1,990
Posted By simpsa27
Thanks for all your help guys this is now solved...
Thanks for all your help guys this is now solved :) thank you very much. I though wc -l just gave a list of the number of proccesses running which is why I was getting confused!
...
1,990
Posted By simpsa27
Script using pstree
Hi guys

I am trying to write a script using pstree. I understand what pstree does and how to write the command etc but I want to have a script which adds up all of the processes in the tree to get...
5,133
Posted By simpsa27
Hi Corona688 We have a internal monitoring...
Hi Corona688

We have a internal monitoring tool which is UNIX/LINUX based and to retrieve metrics results it needs to be used within the UNIX/LINUX system.

As the service is a windows service I...
5,133
Posted By simpsa27
Hi Powershell Script: #Alex Simpson ...
Hi

Powershell Script:


#Alex Simpson
#Script to check the status of the Postgres DB

#function to check service status and restart
function FuncCheckService

{
$ServiceName =...
5,133
Posted By simpsa27
Checking to see if windows service is running
Hi

I have created a PowerShell script which successfully checks whether windows service pgsql-9.2 is running.

I have tried to call that PowerShell script with a shell/bash script within a...
25,581
Posted By simpsa27
Hi Andrew Yes I have written a PowerShell...
Hi Andrew

Yes I have written a PowerShell script to check whether the windows service psql-9.2 is running.

We have a monitoring tool which runs off Linux so I was wondering if their was...
25,581
Posted By simpsa27
Hi Andrew Thank you for your reply. ...
Hi Andrew

Thank you for your reply.

The service I am looking to check is a windows service - not on the Linux system
Showing results 1 to 25 of 55

 
All times are GMT -4. The time now is 03:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy