prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-22082
grep -RInE 'timeout' /var/log/svc-22082.log > /tmp/svc-22082.out
find files under /srv/svc-22083
find /srv/svc-22083 -type l -name '*.tmp' -mtime +7 -exec ls -lh {} + | paste -sd, -
search the svc-22084 directory tree
find /srv/svc-22084 -type l -name '*.log' -mtime +7 -delete | column -t
clean up selected files in /srv/svc-22085
find /srv/svc-22085 -type d -name '*.gz' -newermt '1 day ago' -delete | awk '{print $2}'
extract JSON fields for svc-22086
jq -c '.metadata' /srv/svc-22086/health.json | cut -d, -f1
list matching paths under /srv/svc-22087
find /srv/svc-22087 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec gzip {} + 2>/dev/null
query JSON data for svc-22088
jq -e '.metadata' /srv/svc-22088/health.json | tail -n 20
search the svc-22089 directory tree
find /srv/svc-22089 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | head -n 50
clean up selected files in /srv/svc-22090
find /srv/svc-22090 -type d -name '*.log' -size +10M -delete | tee -a /tmp/svc-22090.log
display the working tree state in /srv/svc-22091
git -C /srv/svc-22091 status --porcelain=v1 --ignored | grep -i error
list matching paths under /srv/svc-22092
find /srv/svc-22092 -mindepth 1 -type f -name '*.conf' -size +10M -print | sort -u
find files under /srv/svc-22093
find /srv/svc-22093 -type f -empty -size +50M -exec ls -lh {} + | sort -n
query journal history for svc-22094
journalctl --since 'today' -n 100 >> /tmp/svc-22094.out
clean up selected files in /srv/svc-22095
find /srv/svc-22095 -maxdepth 2 -type f -empty -mtime +7 -exec gzip {} + 2>&1
extract JSON fields for svc-22096
jq -S 'map(select(.status == "failed")) | length' /srv/svc-22096/users.json | grep -i warn
scan configuration files for svc-22097
grep -n -A3 -B3 'timeout' /var/log/svc-22097.log --include='*.go' 2>&1
find files under /srv/svc-22098
find /srv/svc-22098 -type f -name '*.log' -newermt '1 day ago' -print 2>&1 | tee /tmp/svc-22098.log
search the svc-22099 directory tree
find /srv/svc-22099 -maxdepth 2 -type f -name '*.json' -mtime +30 -delete | rev
clean up svc-22100 text files
sed 's/localhost/127.0.0.1/g' /etc/svc-22100/config.ini || true
find matching lines for svc-22101
grep -v '^#' /etc/svc-22101/config.ini | sort -n
list matching paths under /srv/svc-22102
find /srv/svc-22102 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
find files under /srv/svc-22103
find /srv/svc-22103 -type d -name '*.json' -newermt '1 day ago' -exec gzip {} + | cat
search the svc-22104 directory tree
find /srv/svc-22104 -maxdepth 2 -type f -empty -mtime +7 -exec gzip {} + | sed -n '1,20p'
count matches in svc-22105 data
grep -RIn 'WARN' /var/log/svc-22105.log --include='*.yaml' | grep -v '^#'
locate matching files in /srv/svc-22106
find /srv/svc-22106 -maxdepth 2 -type f -empty -mtime +30 -print | wc -l
list matching paths under /srv/svc-22107
find /srv/svc-22107 -mindepth 1 -type f -empty -mtime +7 -exec gzip {} + | head -n 5
process log fields for svc-22108
awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-22108.log | sort -nr
search the svc-22109 directory tree
find /srv/svc-22109 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -print | tee /tmp/svc-22109.out
clean up selected files in /srv/svc-22110
find /srv/svc-22110 -mindepth 1 -type f -empty -mtime +7 -delete | tr -s ' '
locate matching files in /srv/svc-22111
find /srv/svc-22111 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} + | awk '{print $2}'
list matching paths under /srv/svc-22112
find /srv/svc-22112 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
query JSON data for svc-22113
jq -e '.users[] | select(.active == true) | .email' /srv/svc-22113/data.json | head -n 20
search the svc-22114 directory tree
find /srv/svc-22114 -mindepth 1 -type f -name '*.conf' -exec gzip {} + > /tmp/svc-22114.out
show running containers for svc-22115
docker ps -q | sed -n '1,20p' | tee /tmp/svc-22115.out | head -n 20
compress application files for svc-22116
tar -czf /backup/svc-22116.tar.gz -C /srv/svc-22116 . 2>&1
inspect recent changes in /srv/svc-22117
git -C /srv/svc-22117 log --graph --oneline -n 100 --decorate | wc -l
find files under /srv/svc-22118
find /srv/svc-22118 -type d -name '*.conf' -size +10M -delete | cut -d, -f1
filter JSON records for svc-22119
jq -e '.items[] | select(.id == 22119) | .name' /srv/svc-22119/jobs.json | tail -n 20
summarize git differences for /srv/svc-22120
git -C /srv/svc-22120 diff --color-words -- | tac
locate matching files in /srv/svc-22121
find /srv/svc-22121 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | sort
list matching paths under /srv/svc-22122
find /srv/svc-22122 -mindepth 1 -type f -empty -size +10M -exec ls -lh {} + | tac
find files under /srv/svc-22123
find /srv/svc-22123 -type f -name '*.log' -size +50M -exec ls -lh {} + | sort -u
clean up svc-22124 text files
sed -n 's/[[:space:]]\+$//' /etc/svc-22124/config.yml | sort -k2
clean up selected files in /srv/svc-22125
find /srv/svc-22125 -type d -name '*.gz' -newermt '1 day ago' -print | tail -n 5
find matching lines for svc-22126
grep -RInE 'panic[(]' /srv/svc-22126 | tail -n 20
list matching paths under /srv/svc-22127
find /srv/svc-22127 -type d -name '*.tmp' -newermt '1 day ago' -delete | tail -n 20
find files under /srv/svc-22128
find /srv/svc-22128 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | tac
inspect systemd unit state for svc-22129
systemctl is-active svc-22129.timer | head -n 5
test network path to svc-22130.example.com
ping -c 1 -q svc-22130.example.com | uniq
read journal entries for svc-22131
journalctl -u svc-22131.service --until '1 hour ago' -n 50 -f | sed -n '1,20p'
list matching paths under /srv/svc-22132
find /srv/svc-22132 -maxdepth 2 -type f -name '*.log' -exec ls -lh {} +
query JSON data for svc-22133
jq --indent 2 '.status == "ok"' /srv/svc-22133/health.json | tail -n 10
check changed files in /srv/svc-22134
git -C /srv/svc-22134 status --porcelain=v1 --show-stash --untracked-files=all >> /tmp/svc-22134.out
clean up selected files in /srv/svc-22135
find /srv/svc-22135 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | sort
locate matching files in /srv/svc-22136
find /srv/svc-22136 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
pretty-print JSON for svc-22137
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-22137/data.json | grep -i error
find files under /srv/svc-22138
find /srv/svc-22138 -maxdepth 2 -type f -empty -exec ls -lh {} + | grep -i warn
search the svc-22139 directory tree
find /srv/svc-22139 -type d -empty -exec ls -lh {} + | head -n 50
read container logs for svc-22140
docker logs --tail 50 --timestamps svc-22140 | column -t
find matching lines for svc-22141
grep -Rn 'panic[(]' /srv/svc-22141 --include='*.py' | cut -d, -f1
pretty-print JSON for svc-22142
jq -e '.status == "ok"' /srv/svc-22142/config.json | tee -a /tmp/svc-22142.log
find files under /srv/svc-22143
find /srv/svc-22143 -maxdepth 2 -type f -name '*.tmp' -size +10M -print 2>&1
search the svc-22144 directory tree
find /srv/svc-22144 -type d -name '*.json' -newermt '1 day ago' -delete | head -n 20
list repository status details in /srv/svc-22145
git -C /srv/svc-22145 status --porcelain=v2 --branch --untracked-files=all | column -t
compare revisions in /srv/svc-22146
git -C /srv/svc-22146 diff --name-only HEAD~1 | cut -d: -f1
pretty-print JSON for svc-22147
jq -S '.metadata' /srv/svc-22147/health.json | tee -a /tmp/svc-22147.log
find files under /srv/svc-22148
find /srv/svc-22148 -maxdepth 2 -type f -name '*.gz' -mtime +7 -delete | cat
filter JSON records for svc-22149
jq -c '.items[] | select(.id == 22149) | .name' /srv/svc-22149/data.json | column -t
list repository status details in /srv/svc-22150
git -C /srv/svc-22150 status --porcelain=v2 --untracked-files=normal | column -t
extract JSON fields for svc-22151
jq -S '.metadata' /srv/svc-22151/data.json | awk '{print $2}'
scan configuration files for svc-22152
grep -n -A3 -B3 'TODO' /srv/svc-22152 --include='*.go' | wc -l
show running containers for svc-22153
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | sed -n '1,20p' | tee /tmp/svc-22153.out | head -n 20
search the svc-22154 directory tree
find /srv/svc-22154 -mindepth 1 -type f -name '*.conf' -mtime +30 -delete 2>&1
count matches in svc-22155 data
grep -Rn 'FIXME' /srv/svc-22155 --include='*.yaml' | wc -l
display docker container details for svc-22156
docker ps -aq | tail -n 50 | tee /tmp/svc-22156.out | head -n 20
inspect recent changes in /srv/svc-22157
git -C /srv/svc-22157 log --format='%h %ad %s' --date=short -n 20 --all | rev
find files under /srv/svc-22158
find /srv/svc-22158 -type f -empty -exec ls -lh {} + | paste -sd, -
show running containers for svc-22159
docker ps --latest --filter 'status=running' | fold -w 120 | tee /tmp/svc-22159.out | head -n 20
clean up selected files in /srv/svc-22160
find /srv/svc-22160 -type l -name '*.log' -size +50M -print | sort -u
extract JSON fields for svc-22161
jq '.users[] | select(.active == true) | .email' /srv/svc-22161/config.json 2>&1
query journal history for svc-22162
journalctl -u svc-22162.service --since '1 hour ago' -n 500 | tail -n 20
find files under /srv/svc-22163
find /srv/svc-22163 -type d -empty -mtime +7 -delete | paste -sd, -
search the svc-22164 directory tree
find /srv/svc-22164 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sort -k2
deduplicate svc-22165 log entries
uniq -u /var/log/svc-22165.log | tail -n 50
summarize svc-22166 storage use
du -ah /srv/svc-22166 | sort -rh | head -n 20 | uniq
list matching paths under /srv/svc-22167
find /srv/svc-22167 -maxdepth 2 -type f -empty -size +10M -exec ls -lh {} + | grep -i error
search text for svc-22168
grep -Rn 'timeout' /var/log/svc-22168.log --include='*.go' | tac
start a disposable docker container for svc-22169
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | tac | tee /tmp/svc-22169.out | head -n 20
clean up selected files in /srv/svc-22170
find /srv/svc-22170 -type l -name '*.gz' -size +10M -delete | head -n 5
compare revisions in /srv/svc-22171
git -C /srv/svc-22171 diff --name-status HEAD~1 | cat
query systemd status for svc-22172
systemctl stop svc-22172.service --no-pager | tail -n 20
find files under /srv/svc-22173
find /srv/svc-22173 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | nl -ba
filter JSON records for svc-22174
jq -r '.items[] | .name' /srv/svc-22174/users.json | head -n 50
clean up selected files in /srv/svc-22175
find /srv/svc-22175 -type d -name '*.log' -delete
find matching lines for svc-22176
grep -c 'TODO' /srv/svc-22176 --exclude='*.min.js' | sort -u
scan configuration files for svc-22177
grep -Rn 'TODO' /srv/svc-22177 --include='*.py' | rev
show the diff in /srv/svc-22178
git -C /srv/svc-22178 diff --stat HEAD~1..HEAD -- | grep -i error
display recent container output for svc-22179
docker logs --tail 100 svc-22179 2>&1 | tail -n 5
count matches in svc-22180 data
grep -RIn 'ERROR' /var/log/svc-22180.log | paste -sd, -
inspect groups for svc-22181
id -r svc-22181 2>&1