Tag Archives: AM

Mpstat and sar

By ptappeta

HI I ma using mpstat and sar commands to check the cpu utilisation

but the results are not matching .I dont understand why thisis happening?

Code:


$ sar -u 12 5
Linux 2.6.9-89.35.1.ELhugemem (abcd.efgh.com) 03/07/2013
02:43:16 AM CPU %user %nice %system %iowait %idle
02:43:28 AM all 41.91 0.00 57.86 0.00 0.23
02:43:40 AM all 43.18 0.00 56.64 0.00 0.19
$ mpstat
Linux 2.6.9-89.35.1.ELhugemem (abcd.efgh.com) 03/07/2013
02:43:47 AM CPU %user %nice %system %iowait %irq %soft %idle intr/s
02:43:47 AM all 20.26 0.06 65.69 0.29 0.03 0.00 13.67 2534.05


so in this case mpstat saying 13.67% is idle where as sar is saying .19%
which one to trust
again when i use mpstat 12 5 ,it is giving correct.

Code:


$ mpstat 12 5
Linux 2.6.9-89.35.1.ELhugemem (abcd.efgh.com) 03/07/2013
02:44:56 AM CPU %user %nice %system %iowait %irq %soft %idle intr/s
02:45:08 AM all 36.71 0.00 63.02 0.00 0.02 0.00 0.25 1977.54
02:45:20 AM all 38.90 0.00 60.77 0.00 0.06 0.00 0.27 3640.83
02:45:32 AM all 38.86 0.00 60.75 0.02 0.02 0.00 0.35 2614.83
02:45:44 AM all 67.70 0.00 32.19 0.00 0.02 0.00 0.08 2506.00
02:45:56 AM all 62.68 0.00 37.28 0.00 0.04 0.00 0.00 1635.89
Average: all 48.97 0.00 50.80 0.00 0.03 0.00 0.19 2474.71


…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Date conversion from 24 hr format to 12 hr format

By vivek d r

hi i want to convert date procured from sone operation which will be in 24hr format to 12 hr format displaying AM and PM

Code:


[root@dunkin-ds-dev-99 ~]# date -d @1362545068
Tue Mar 5 23:44:28 EST 2013
[root@dunkin-ds-dev-99 ~]#


this

Code:

Tue Mar 5 23:44:28 EST 2013


i want to convert it so that output is as below

Code:

Tue Mar 5 23:44:28 EST 2013
03-05-2013 11.44 PM


any help is deeply appreciated. thanks

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Unemployment Preview: How ADP, Challenger, and Others May Change Unemployment Expectations

By 24/7 Wall St.

job_dissatisfaction_2

Filed under: ,

This is an unusual month because, due to a strange calendar in February, the monthly employment situation report by the U.S. Labor Department did not come on the first Friday of the month. This Friday will mark the key Unemployment Report from the Labor Department and we have many economic releases which will act as telegraphs ahead of that formal release. We have the formal estimates for the Employment Situation at the end because there are so many economic releases which investors and traders use as a harbinger for each month’s report.

Today’s ISM report for the non-Manufacturing segment rose to the highest reading in a year to 56.0, but the employment component was fell marginally to 57.2 in February from 57.5 in January.

On Wednesday morning around 8:15 AM we will get to see the ADP Employment Report for February. The consensus is 173,000 in new private sector payrolls versus 192,000 in January. The ADP national employment report comes from a subset of ADP records from about 400,000 domestic businesses which employ about 24 million workers in a ll private industrial sectors.

At 2:00 PM on Wednesday we will get the Federal Reserve’s Beige Book that was made in the two weeks ahead of the last FOMC meeting. This is older data, so do not expect it to change the unemployment and payrolls data.

On Thursday at about 7:30 AM comes the Challenger Job-Cut Report from Challenger, Gray & Christmas, Inc. which is based upon corporate layoffs based on mass layoff data from state departments of labor. As a reminder, this is more volatile and does not account for changes inside employers.

The weekly jobless claims report from the Labor Department will come out on Thursday at 8:30 AM. Bloomberg is calling for a reading of 355,000 versus 344,000 from last week’s preliminary figure. We would note that the numbers have been coming sometimes way off the estimates and the trend has been lower of late.

Non-Farm Productivity and Unit Labor Costs will come out on Thursday at 8:30 as well, but we would caution that this is a measurement for the fourth quarter of 2012. That means it has no influence other than productivity. The more productivity that gets milked out of the same number of workers ultimately means that businesses can hire fewer new workers because they can get more output from the same workers for virtually the same price minus the investment costs.The prior productivity report showed a drop of 2% and Bloomberg is looking for this to be a drop of -1.6%.

The formal Employment Situation from the Labor Department for the month of February will be released at 8:30 AM on Friday. Perhaps the biggest caveat for investors is that the consensus can change or the unofficial whisper numbers can change based on the other numbers coming out ahead of the number. Bloomberg has the following estimates for February:

Spool – Append and Calculation

By Daniel Gate

I am running a cron job, every 6 hours a day (6 AM, 12 PM, 6 PM, and 12 AM),

HTML Code:

#!/usr/bin/ksh
......
$SQLPLUS / as sysdba <<!
@/home/oracle/scripts/daily.sql
!
cat /home/oracle/scripts/dbsizedaily.lst | mail -s "$TODAY: PROD DB Size" $RECIPIENTS


“@/home/oracle/scripts/daily.sql” has

HTML Code:

spool /home/oracle/scripts/dbsizedaily append

select sum(bytes)/1024/1024/1024 "TOTAL_GB"
from dba_data_files;

select sum(bytes)/1024/1024/1024 "USED_GB"
from dba_segments;

spool off
exit


and it simply generates

PHP Code:


TOTAL_GB

----------

3151.24316

USED_GB

----------

2330.40381

TOTAL_GB ...read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Help with Backup Shell Script

By vino1989

i need to print the first date of the previous month in 20130101 format.

i use the below script
month_year=$(date +’%m%Y’ | awk ‘!–$1{$1=12;$2–}’)
m=${month_year% *}
y=$month_year##* }
d=$(cal $m $y | paste -s – | awk ‘{print $NF}’)
firstdate=${printf ’02d01%s’ $y $m)
echo $firstdate

it print as “2013101”

any one can help me on this to print 20130101 as yyyymmdd format

———- Post updated at 08:57 AM ———- Previous update was at 08:56 AM ———-

thanks in advance

Source: FULL ARTICLE at The UNIX and Linux Forums

Search for text between two time frame using sed

By Azher

I have log files with time stamps. I want to search for text between two time stamp using sed even if the first tme stamp or the last time stamp are not present. For e.g. if i search between 9:30 and 9:40 then it should return text even if 9:30 or 9:40 is not there but between 9:30 and 9:40 is present.
I am using a sed one liner:
sed -n ‘/7:30:/,/7:35:/p’ xyz.log But it only returns data if both the time stamps are present, it will print everything if one of the time stamp are missing. An if the time is in 12 hr format it will pull data for both AM and PM.
Additionally , i have different time stamps formats for different log files so i need a generic command.
following are some time format examples e.g.

Jan 29, 2013 8:58:12 AM 2013-01-31 06:44:04,883

One of them contains AM/PM i.e. 12 hr format and other cntains 24 hr format so i have to account for that as well.
I have tried this as weel but it doesnt work:

sed -n -e ‘/^2012-07-19 18:22:48/,/2012-07-23 22:39:52/p’ history.log

please help

Source: FULL ARTICLE at The UNIX and Linux Forums

Check

By SkySmart

Code:

echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180 2012-12-29--13.3637 2012-12-30--13.7091"


the set of numbers i provided above is separated by spaces. how do i count how many sets there are?

i tried:

Code:

echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180 2012-12-29--13.3637 2012-12-30--13.7091" | wc -w


———- Post updated at 10:57 AM ———- Previous update was at 10:56 AM ———-

actually never mind, i think i may have found the solution:

Code:

echo ""2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180 2012-12-29--13.3637 2012-12-30--13.7091"" | wc -w


notice the double quotes.

Source: FULL ARTICLE at The UNIX and Linux Forums

Can't shutdown the computer

By mi117

i cannot shutdown my computer through GUI or CLI when i put the command


shutdown -P/-r now


or press the shutdown button it goes to the login prompt and stays like that afterwards, so i press CTRL+ALT+delete (which works) but that only restarts it and closes processes like winbind and apache

———- Post updated at 01:30 AM ———- Previous update was at 01:22 AM ———-

i m using mint 13 OS
kernal 3.2.0

Source: FULL ARTICLE at The UNIX and Linux Forums

Agent Installation Issue on Ops Center

By Junaid Subhani

Hi guys . While installing the agent on an asset Solaris system:


root@system: /var/tmp/OC $ /opt/SUNWxvmoc/bin/agentadm configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
agentadm: Version 12.1.2.2161 launched with args: configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
Validating step : workarounds configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
Validating step : db configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
/var/run/cacao/instances/scn-agent/run/*.pid: No such file or directory
Validating step : sc_console configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
verified sc_console command is OK
Validating step : setup_hmp configure -u root -p /var/tmp/OC/mypasswd
Validating step : scn_agent configure
scn_agent Common Agent Container environment is OK
Validating step : setup_net configure
skipping setup_net step for zone VC.
Validating step : uce_agent configure
Validating step : config_sysconfig configure
Validating step : final configure
End of validation

executing step : workarounds
workaround configuration done.

executing step : db
/var/run/cacao/instances/scn-agent/run/*.pid: No such file or directory
configuring db
INFO: hd_domain_vc_agent_db.sh decrypted the password.
Java DB creation and initialization for Domain Model successful
configuring jobs db
INFO: hd_jobs_vc_agent_db.sh decrypted the password.
Java DB creation and initialization for job manager successful
INFO: db decrypted the password.

executing step : sc_console
verified sc_console command is OK
Configuring sc_console
*checking existing sc_console connections
doing sc-console registration
Jan 22, 2013 12:29:32 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jan 22, 2013 12:29:32 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jan 22, 2013 12:32:43 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jan 22, 2013 12:32:43 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jan 22, 2013 12:35:54 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jan 22, 2013 12:35:54 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
CE: java.net.ConnectException: Connection timed out
10
ERROR: Connection refused.
sc-console registration failed on [10].
sc-console : Unknown error. *


It does not seem to be connecting . What seems to be the issue here and how can I resolve it ?

Source: FULL ARTICLE at The UNIX and Linux Forums

Run .exe inside shell script

By HemanthJayasimh

I have to run some shell scripts in Windows using Cygwin. I am able to achieve that using %BASH% –login -i “/cygdrive/d/script.sh”, where %BASH% is an environment variable in Windows set to C:cygwinbinbash.exe.
I have a created a Cygwin environment variable $EXE_PATH = /cygdrive/d/somepath/dir. Inside my script the line is
$EXE_PATH/some.exe -f /cygdrive/d/password.txtThere is error in this line every time I run the script. Error is something to do with the some.exe/password.txt not being found.
If I run the same command from the Cygwin terminal, it works fine. Is there something wrong with the environemnt variable or the way exe is executed, because of its argrument list? is this the right way to execute an exe inside a shell script?

———- Post updated at 05:35 AM ———- Previous update was at 05:31 AM ———-

#!/bin/sh
echo simple shell script
echo $EXE_PATH
$EXE_PATH/runube -f password.txt DVRP910 *ALL R0006P XJDE0001 QBATCH B #H S //NASRVNY/NY_02 — this doesn’t work
cat $TESTLEELA/password.txt — this line works

Source: FULL ARTICLE at The UNIX and Linux Forums

Network Interfaces Problem – Monitoring equipment

By andresguillen

Dear gurus of Linux / Unix.
I have a server, which I use to monitoring traffic, the problem that I find is when I run the following command:



probe:~ # sar -n DEV 1

I see that I one second appear info in some interface and in the other second no appear, I don’t know what will be the problem?



probe:~ # sar -n DEV 1
Linux 2.6.32.12-0.7-default (lav1) 01/16/2013 _x86_64_

03:13:14 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:13:15 AM lo 237.11 237.11 133.59 133.59 0.00 0.00 0.00
03:13:15 AM eth4 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth7 85488.66 0.00 54044.70 0.00 0.00 0.00 0.00
03:13:15 AM eth5 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth6 1.03 0.00 0.08 0.00 0.00 0.00 1.03
03:13:15 AM eth0 2.06 0.00 0.13 0.00 0.00 0.00 0.00
03:13:15 AM eth1 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth3 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth0.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth0.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth1.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth1.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth2.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth2.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth3.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth3.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth4.2517 21923.71 0.00 3820.11 0.00 0.00 0.00 1.03
03:13:15 AM eth4.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth5.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth5.2518 3235.05 0.00 526.90 0.00 0.00 0.00 0.00
03:13:15 AM eth6.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:15 AM eth6.2518 1.03 0.00 0.07 0.00 0.00 0.00 1.03
03:13:15 AM eth7.2517 42420.62 0.00 26596.42 0.00 0.00 0.00 0.00
03:13:15 AM eth7.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00

03:13:15 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:13:16 AM lo 129.41 129.41 70.50 70.50 0.00 0.00 0.00
03:13:16 AM eth4 40502.94 0.00 7743.55 0.00 0.00 0.00 0.98
03:13:16 AM eth7 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth5 6229.41 0.00 1096.53 0.00 0.00 0.00 0.00
03:13:16 AM eth6 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth0 1.96 1.96 0.13 2.49 0.00 0.00 0.00
03:13:16 AM eth1 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth3 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth0.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth0.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth1.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth1.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth2.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth2.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth3.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth3.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth4.2517 19767.65 0.00 3568.61 0.00 0.00 0.00 0.00
03:13:16 AM eth4.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth5.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth5.2518 3170.59 0.00 526.46 0.00 0.00 0.00 0.00
03:13:16 AM eth6.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth6.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:16 AM eth7.2517 39611.76 0.00 24385.15 0.00 0.00 0.00 0.00
03:13:16 AM eth7.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00

03:13:16 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:13:17 AM lo 6.00 6.00 0.82 0.82 0.00 0.00 0.00
03:13:17 AM eth4 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth7 81707.00 0.00 51731.79 0.00 0.00 0.00 0.00
03:13:17 AM eth5 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth6 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth0 2.00 2.00 0.13 2.54 0.00 0.00 0.00
03:13:17 AM eth1 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth3 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth0.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth0.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth1.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth1.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth2.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth2.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth3.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth3.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth4.2517 20838.00 0.00 3690.83 0.00 0.00 0.00 0.00
03:13:17 AM eth4.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth5.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth5.2518 3331.00 0.00 549.41 0.00 0.00 0.00 0.00
03:13:17 AM eth6.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth6.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:17 AM eth7.2517 43083.00 0.00 27102.19 0.00 0.00 0.00 0.00
03:13:17 AM eth7.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00

03:13:17 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:13:18 AM lo 12.63 12.63 1.97 1.97 0.00 0.00 0.00
03:13:18 AM eth4 43789.47 0.00 8420.30 0.00 0.00 0.00 0.00
03:13:18 AM eth7 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth5 6922.11 0.00 1251.02 0.00 0.00 0.00 0.00
03:13:18 AM eth6 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth0 11.58 13.68 0.77 18.97 0.00 0.00 0.00
03:13:18 AM eth1 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth3 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth0.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth0.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth1.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth1.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth2.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth2.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth3.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth3.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth4.2517 21937.89 0.00 3962.40 0.00 0.00 0.00 0.00
03:13:18 AM eth4.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth5.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth5.2518 3447.37 0.00 590.10 0.00 0.00 0.00 0.00
03:13:18 AM eth6.2517 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth6.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:13:18 AM eth7.2517 45248.42 0.00 28402.57 0.00 0.00 0.00 1.05
03:13:18 AM eth7.2518 0.00 0.00 0.00 0.00 0.00 0.00 0.00
^C
probe:~ #

As you can see the problem appear in the interface eth4, eth5 and eth7, in one second appear info and the other not

A Guru that can help please to identify what will be the problem?

I hope your suggestion/comments

Best Regards
Andres

Source: FULL ARTICLE at The UNIX and Linux Forums

Today in History for 17th December 2012

Historical Events

1903 – At 10:35 AM, 1st sustained motorized aircraft flight (Orville Wright)
1961 – Disgruntled employee set fire to a circus tent in Niteroi Brazil
1977 – Elvis Costello and The Attractions 1st US TV appearance (SNL)
1988 – 77th Davis Cup: Germany beats Sweden in Gothenburg (4-1)
1988 – USSR performs nuclear test at Eastern Kazakh/Semipalitinsk USSR
2005 – Anti-WTO protesters riot in Wan Chai, Hong Kong

More Historical Events »

Famous Birthdays

1821 – Frederick West Lander, Brigadier General (Union volunteers), died in 1862
1887 – Hermine Reuss, Empress of Germany and Duchess of Bohemia (d. 1947)
1905 – Simo Häyhä, Finnish sniper (d. 2002)
1937 – Calvin Waller, US Army general (d. 1996)
1957 – Bob Ojeda, pitcher (NY Mets)
1959 – Tammie Green, Somerset OH, LPGA golfer (1989 du Maurier Ltd Classic)

More Famous Birthdays »

Famous Deaths

1187 – Gregory VIII, [Alberto de Morra], Italian Pope (1187), dies
1471 – Isabella of Portugal, duchess of Burgundy, dies
1957 – Dorothy Sayers, [Atherton Fleming], author (Whose body), dies at 64
1996 – Francesco Siciliani, opera administrator, dies at 85
1999 – Grover Washington, Jr., American saxophonist (b. 1943)
2004 – Tom Wesselmann, American collage artist (b. 1931)

More Famous Deaths »

Source: HistoryOrb.Com – This Day in History

Ftp issue

Hi we are facing an issue on our server
our job connects to a target server and pulls the file from a location .But it is taking too much time to do this .
Hwne i manully do the ftp it finished in few seconds
.but when the jobs is pulling it is taking 30 to 40 min .

please see the log below

Code:

2012-12-14 01:47:48 INFO:ifeeds run command = /itf/fideitf/fide/common/scr/fide_ifeeds_get_files.pl /itf/fideitf/fide/common/FS_get_files com_wrapper_fsg.perl.tempfileC_focas.milrate_mm -z 20121213 -a jeff-fast.fmrco.com -b mutt-fast.fmrco.com -t 3 -h 05 -k 07 -w no_wait
Host Name is fiappl18dev
Output is redirected to log file: /itf/fideitf/fide/common/FS_get_files/LOG/com_wrapper_fsg.perl.tempfileC_focas.milrate_mm_20121213
ftp: setsockopt: Bad file descriptor
Trying to authenticate to
calling gss_init_sec_context
Trying to authenticate to

calling gss_init_sec_context
calling gss_init_sec_context
sealed (MIC) 53 bytes
secure_command(SYST)
encoding 72 bytes MIC YDMGCSqGSIb3EgECAgIBAAD/////N+GKBoSjGpdepaaM8jiTHyW1BZ6sVeBVU1lTVAADAwM=
sealed (MIC) 61 bytes
secure_command(USER fideitf)
encoding 84 bytes MIC YDsGCSqGSIb3EgECAgIBAAD/////I7fuDvJHBrIqMZGM7XeNIIENTC12rA0hVVNFUiBmaWRlaXRmAAMDAw==
sealed (MIC) 61 bytes
secure_command(PASS dummy)
encoding 84 bytes MIC YDsGCSqGSIb3EgECAgIBAAD/////BzfPI2/MGfN4KDOE2qgafBSTdHtxT8I4UEFTUyBkdW1teQAFBQUFBQ==
sealed (MIC) 53 bytes
secure_command(TYPE I)
encoding 72 bytes MIC YDMGCSqGSIb3EgECAgIBAAD/////Y681+N8s2i0vIul4n1GKqbhpSDsKA3unVFlQRSBJAAE=
ftp: setsockopt (ignored): Permission denied
sealed (MIC) 53 bytes
secure_command(PASV)
encoding 72 bytes MIC YDMGCSqGSIb3EgECAgIBAAD/////PhPbmg6Lf06hG8pBiKXpL1UCZZ8S9AdiUEFTVgADAwM=
sealed (MIC) 93 bytes
secure_command(RETR /ifeeds/misc/focas/focas.milrate_mm)
encoding 124 bytes MIC YFsGCSqGSIb3EgECAgIBAAD/////Vi9s9ahsd2MqyZaJXbKyIrYQdFngJ6qaUkVUUiAvaWZlZWRzL21pc2MvZm9jYXMvZm9jYXMubWlscmF0ZV9tbQAHBwcHBwcH
sealed (MIC) 53 bytes
secure_command(QUIT)
encoding 72 bytes MIC YDMGCSqGSIb3EgECAgIBAAD/////QWH5iDFRI/T0rpJNG4DWkDjj7o4WX8OfUVVJVAADAwM=

so the process satrted at 1:47 AM and the time now is Fri Dec 14 02:21:07 EST 2012 . Why is this taking so long to pull afile of few kb’s .

When i use ftp -d manually
see below output.

fiappl18dev% ftp -d altair
Connected to altair (10.105.41.31).
220 altair FTP server (Version 5.60) ready.
Name (altair:fideitf): fideitf
—> USER fideitf
331 Password required for fideitf.
Password:
—> PASS XXXX
230 User fideitf logged in.
—> SYST
215 UNIX Type: L8
Remote system type is UNIX.
Using binary mode to transfer files.please help

🙁