Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to check how much space is consuming one folder using linux commands.

BK September 23, 2021

Folder name 

opt/confluence/bin

How many times Confluence in Linux restart? How to check?

Need quick response 

1 answer

1 accepted

0 votes
Answer accepted
Kishan Sharma
Community Champion
September 23, 2021

Hi @BK 

You can check when confluence was stopped/started in confluence-application.log which can be found in the <local-home>/logs directory.

du -sh /opt/confluence/bin will give you the space consumed by /opt/confluence/bin directory.

BK September 23, 2021

Hi @Kishan Sharma 

You can check when confluence was stopped/started in confluence-application.log which can be found in the <local-home>/logs director----Can you please  elaborate. 

For this assume I have dev server  in that how many times confluence gets restarted,  I need .

Thanks & Regards 

BK

Kishan Sharma
Community Champion
September 23, 2021

Login to the confluence server via putty and then navigate to your <local-home>/logs directory and view the confluence-application.log. And search for string like "Catalina.start" in it.

BK September 23, 2021

Hi @Kishan Sharma 

Is this confluence-application.log  is same like /opt/confluencehome/logs/atlassian-confluence.log or any other 

Please update me

Kishan Sharma
Community Champion
September 23, 2021

Yes, its the same.

BK September 23, 2021

Thanks @Kishan Sharma 

Then how to get logs from this month starting , when I was seen there's only this week logs are available. 

Please update me. 

Kishan Sharma
Community Champion
September 23, 2021

If you are not retaining the logs, you might not get that data. Please refer this link to know how you can increase the size and number of logs. You can write a script to move the logs to some other location for backup purpose and set a cronjob so that the script runs at a scheduled time.

BK September 23, 2021

Hi @Kishan Sharma 

Is Catalina. Startup.catalina.load server

Or catalina.start

Here showing catalina.startup.catalina.start server startup

Kishan Sharma
Community Champion
September 23, 2021

Yes the timestamp shown for that line "catalina.startup.catalina.start" is when the confluence is started.

BK September 23, 2021

So I  need to count 

"catalina.startup.catalina.start " this one for number of times confluence restart right @Kishan Sharma 

Kishan Sharma
Community Champion
September 23, 2021

Thats correct @BK 

Like BK likes this
BK September 24, 2021

Hi @Kishan Sharma 

I gave this  output to my TL

He asked linux command (grep 'catalina.start' directory ) 

He satisfied with output 

Thanks @Kishan Sharma 

Kishan Sharma
Community Champion
September 24, 2021

That's great @BK :)

Like BK likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events