Skip to content

Commit

Permalink
Merge pull request #20 from PavanGupta01/develop
Browse files Browse the repository at this point in the history
removed extra lines which were added during merge
  • Loading branch information
wchu-citrusleaf committed Sep 21, 2015
2 parents 450b4f5 + 11bce93 commit cd66339
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,6 @@ def parse_namespace(self, namespace_data):
return namespaces

def main_collectinfo(self, line):
<<<<<<< HEAD
# Unfortunately timestamp can not be printed in Centos with dmesg,
# storing dmesg logs without timestamp for this particular OS.
if 'centos' == (platform.linux_distribution()[0]).lower():
Expand All @@ -667,14 +666,12 @@ def main_collectinfo(self, line):
cmd_dmesg = 'dmesg -T'

collect_output = time.strftime("%Y-%m-%d %H:%M:%S UTC\n", time.gmtime())
=======
global aslogdir, aslogfile, output_time
output_time = time.strftime("%Y%m%d_%H%M%S", time.gmtime())
aslogdir = '/tmp/collectInfo_' + output_time
as_sysinfo_logdir = os.path.join(aslogdir, 'sysInformation')
as_logfile_prefix = aslogdir + '/' + output_time + '_'

>>>>>>> 369cedb30f9a0ff0cbc2bc2780118734852f56c8
info_params = ['network','service', 'namespace', 'xdr', 'sindex']
show_params = ['config', 'distribution', 'latency', 'statistics']
cluster_params = ['service',
Expand Down Expand Up @@ -702,12 +699,9 @@ def main_collectinfo(self, line):
'df -h',
'ls /sys/block/{sd*,xvd*}/queue/rotational |xargs -I f sh -c "echo f; cat f;"',
'ls /sys/block/{sd*,xvd*}/device/model |xargs -I f sh -c "echo f; cat f;"',
<<<<<<< HEAD
'lsof',
cmd_dmesg,
'iostat -x 1 10',
=======
>>>>>>> 369cedb30f9a0ff0cbc2bc2780118734852f56c8
'vmstat -s',
'vmstat -m',
'iptables -L',
Expand Down

0 comments on commit cd66339

Please sign in to comment.